[Python-checkins] r84677 - python/branches/py3k/Doc/library/fcntl.rst

benjamin.peterson python-checkins at python.org
Fri Sep 10 20:50:38 CEST 2010


Author: benjamin.peterson
Date: Fri Sep 10 20:50:38 2010
New Revision: 84677

Log:
add reference to file object

Modified:
   python/branches/py3k/Doc/library/fcntl.rst

Modified: python/branches/py3k/Doc/library/fcntl.rst
==============================================================================
--- python/branches/py3k/Doc/library/fcntl.rst	(original)
+++ python/branches/py3k/Doc/library/fcntl.rst	Fri Sep 10 20:50:38 2010
@@ -16,8 +16,8 @@
 
 All functions in this module take a file descriptor *fd* as their first
 argument.  This can be an integer file descriptor, such as returned by
-``sys.stdin.fileno()``, or a file object, such as ``sys.stdin`` itself, which
-provides a :meth:`fileno` which returns a genuine file descriptor.
+``sys.stdin.fileno()``, or a :class:`io.IOBase` object, such as ``sys.stdin``
+itself, which provides a :meth:`fileno` that returns a genuine file descriptor.
 
 The module defines the following functions:
 


More information about the Python-checkins mailing list