diff --git a/lldb/www/python-reference.html b/lldb/www/python-reference.html index 149ef15ba3ba..4c2bc5c2e264 100755 --- a/lldb/www/python-reference.html +++ b/lldb/www/python-reference.html @@ -318,7 +318,7 @@ Enter your Python command(s). Type 'DONE' to end. don't have to change your PYTHONPATH for temporary scripts. It also has another convenience that if your new script module has a function of the form:
-def __lldb_module_init(debugger, dict):
+def __lldb_init_module(debugger, dict):
# Command Initialization code goes here
@@ -359,7 +359,7 @@ def ls(debugger, command, result, dict):
result.PutCString(commands.getoutput('/bin/ls %s' % command))
# And the initialization code to add your commands
-def __lldb_module_init(debugger, dict):
+def __lldb_init_module(debugger, dict):
debugger.HandleCommand('command script add -f ls.ls ls')
print 'The "ls" python command has been installed and is ready for use.'