mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
add reference to file object
This commit is contained in:
parent
a4e4ae27fc
commit
4f5e298075
1 changed files with 2 additions and 2 deletions
|
@ -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
|
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
|
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
|
``sys.stdin.fileno()``, or a :class:`io.IOBase` object, such as ``sys.stdin``
|
||||||
provides a :meth:`fileno` which returns a genuine file descriptor.
|
itself, which provides a :meth:`fileno` that returns a genuine file descriptor.
|
||||||
|
|
||||||
The module defines the following functions:
|
The module defines the following functions:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue