Fixing an issue with Python commands defined interactively

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139345 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/ScriptInterpreterPython.cpp b/source/Interpreter/ScriptInterpreterPython.cpp
index bbaa8b9..18c7b99 100644
--- a/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/source/Interpreter/ScriptInterpreterPython.cpp
@@ -1304,7 +1304,7 @@
     
     // Create the function name & definition string.
     
-    sstr.Printf ("def %s (debugger, args, dict):", auto_generated_function_name.c_str());
+    sstr.Printf ("def %s (debugger, args, result, dict):", auto_generated_function_name.c_str());
     auto_generated_function.AppendString (sstr.GetData());
     
     // Pre-pend code for setting up the session dictionary.