[Python-checkins] r51943 - python/branches/bcannon-objcap/Modules/interpretermodule.c

brett.cannon python-checkins at python.org
Thu Sep 21 01:24:21 CEST 2006


Author: brett.cannon
Date: Thu Sep 21 01:24:21 2006
New Revision: 51943

Modified:
   python/branches/bcannon-objcap/Modules/interpretermodule.c
Log:
Clarify doc for redirect_output().


Modified: python/branches/bcannon-objcap/Modules/interpretermodule.c
==============================================================================
--- python/branches/bcannon-objcap/Modules/interpretermodule.c	(original)
+++ python/branches/bcannon-objcap/Modules/interpretermodule.c	Thu Sep 21 01:24:21 2006
@@ -163,11 +163,11 @@
 
 static PyMethodDef interpreter_methods[] = {
     {"builtins", (PyCFunction)interpreter_builtins, METH_NOARGS,
-        "Return the built-in namespace dict"},
+        "Return the built-in namespace dict."},
     {"execute", interpreter_exec, METH_O,
-	"Execute the passed-in string in the interpreter"},
+	"Execute the passed-in string in the interpreter."},
     {"redirect_output", (PyCFunction)redirect_output, METH_VARARGS,
-        "Redirect stdout to stderr"},
+        "Redirect stdout to stderr.  Returns tuple of objects used."},
     {NULL}
 };
 


More information about the Python-checkins mailing list