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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4ef23f8c10a34c9b80477d084b24feb6f7cee06;p=python Use correct markup. --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index efe2af6986..8a4a9b7e5b 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`.