From: Benjamin Peterson Date: Fri, 10 Sep 2010 18:50:38 +0000 (+0000) Subject: add reference to file object X-Git-Tag: v3.2a3~345 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f5e298075f512d2ca3376ff35d6710b7317024b;p=thirdparty%2FPython%2Fcpython.git add reference to file object --- diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst index e21c1eda7112..dd76d656bafa 100644 --- a/Doc/library/fcntl.rst +++ b/Doc/library/fcntl.rst @@ -16,8 +16,8 @@ interface to the :cfunc:`fcntl` and :cfunc:`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 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: