[Python-checkins] r58715 - python/trunk/Doc/using/cmdline.rst
georg.brandl
python-checkins at python.org
Tue Oct 30 18:51:18 CET 2007
Author: georg.brandl
Date: Tue Oct 30 18:51:18 2007
New Revision: 58715
Modified:
python/trunk/Doc/using/cmdline.rst
Log:
Use correct markup.
Modified: python/trunk/Doc/using/cmdline.rst
==============================================================================
--- python/trunk/Doc/using/cmdline.rst (original)
+++ python/trunk/Doc/using/cmdline.rst Tue Oct 30 18:51:18 2007
@@ -217,10 +217,10 @@
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`.
More information about the Python-checkins
mailing list