]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make print docstring consistent with its docs.
authorGeorg Brandl <georg@python.org>
Fri, 1 Feb 2008 15:47:37 +0000 (15:47 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 1 Feb 2008 15:47:37 +0000 (15:47 +0000)
Python/bltinmodule.c

index a86bb9ed7b7dcf23b7c1aa2ce3efeada325ff4f0..964fb320534ae60c2ecd889eae739fbf00c5f1ec 100644 (file)
@@ -1267,7 +1267,7 @@ builtin_print(PyObject *self, PyObject *args, PyObject *kwds)
 }
 
 PyDoc_STRVAR(print_doc,
-"print(value, ..., file=None, sep=' ', end='\\n')\n\
+"print(value, ..., sep=' ', end='\\n', file=sys.stdout)\n\
 \n\
 Prints the values to a stream, or to sys.stdout by default.\n\
 Optional keyword arguments:\n\