From: Georg Brandl Date: Tue, 30 Oct 2007 17:51:18 +0000 (+0000) Subject: Use correct markup. X-Git-Tag: v2.6a1~1113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4ef23f8c10a34c9b80477d084b24feb6f7cee06;p=thirdparty%2FPython%2Fcpython.git Use correct markup. --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index efe2af69869b..8a4a9b7e5b70 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -217,10 +217,10 @@ Miscellaneous options Force stdin, stdout and stderr to be totally unbuffered. On systems where it matters, also put stdin, stdout and stderr in binary mode. - Note that there is internal buffering in :func:`file.readlines` and + Note that there is internal buffering in :meth:`file.readlines` and :ref:`bltin-file-objects` (``for line in sys.stdin``) which is not influenced by this option. To work around this, you will want to use - :func:`file.readline` inside a ``while 1:`` loop. + :meth:`file.readline` inside a ``while 1:`` loop. See also :envvar:`PYTHONUNBUFFERED`.