summaryrefslogtreecommitdiffstats
path: root/Doc/library/fcntl.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 04:04:57 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 04:04:57 (GMT)
commit2eb819f7a82c7eb61f2d253894d9973f0ec21df2 (patch)
treec881e371e6ae948cbd725afd91fa8f5b0c6c940f /Doc/library/fcntl.rst
parent56275dc1e2a2f354620189efd751fa90af2118e1 (diff)
parent7462b64911f1e2df2de2285ddbf8b156b5cdc418 (diff)
downloadcpython-2eb819f7a82c7eb61f2d253894d9973f0ec21df2.zip
cpython-2eb819f7a82c7eb61f2d253894d9973f0ec21df2.tar.gz
cpython-2eb819f7a82c7eb61f2d253894d9973f0ec21df2.tar.bz2
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
Diffstat (limited to 'Doc/library/fcntl.rst')
-rw-r--r--Doc/library/fcntl.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst
index 432140f..e0d184f 100644
--- a/Doc/library/fcntl.rst
+++ b/Doc/library/fcntl.rst
@@ -16,13 +16,13 @@ interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines.
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 :class:`io.IOBase` object, such as ``sys.stdin``
+``sys.stdin.fileno()``, or an :class:`io.IOBase` object, such as ``sys.stdin``
itself, which provides a :meth:`~io.IOBase.fileno` that returns a genuine file
descriptor.
.. versionchanged:: 3.3
- Operations in this module used to raise a :exc:`IOError` where they now
- raise a :exc:`OSError`.
+ Operations in this module used to raise an :exc:`IOError` where they now
+ raise an :exc:`OSError`.
The module defines the following functions: