summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-01 15:47:37 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-01 15:47:37 (GMT)
commitcd5da7d51b43474c2870f7f44c1a1048c9c3139d (patch)
tree32b0682d230caf60aba2f3333ce69ec50331828c /Python
parentf69451833191454bfef75804c2654dc37e8f3e93 (diff)
downloadcpython-cd5da7d51b43474c2870f7f44c1a1048c9c3139d.zip
cpython-cd5da7d51b43474c2870f7f44c1a1048c9c3139d.tar.gz
cpython-cd5da7d51b43474c2870f7f44c1a1048c9c3139d.tar.bz2
Make print docstring consistent with its docs.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index a86bb9e..964fb32 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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\