diff options
| author | Charles-Francois Natali <cf.natali@gmail.com> | 2013-05-01 15:12:20 +0200 |
|---|---|---|
| committer | Charles-Francois Natali <cf.natali@gmail.com> | 2013-05-01 15:12:20 +0200 |
| commit | a771a1b48e7fcf73b13e905f87f319fcd4cb25b2 (patch) | |
| tree | 9a81675ddad6250100c04f694a3dd82cdc0fe678 | |
| parent | 81641d6ebc0a184e10e2770587f37ad853cd134b (diff) | |
| download | cpython-git-a771a1b48e7fcf73b13e905f87f319fcd4cb25b2.tar.gz | |
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.
| -rw-r--r-- | Doc/library/os.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index e70c8869ce..6d4fb04108 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -999,9 +999,8 @@ as internal buffering of data. On Mac OS X and FreeBSD, a value of 0 for *nbytes* specifies to send until the end of *in* is reached. - On Solaris, *out* may be the file descriptor of a regular file or the file - descriptor of a socket. On all other platforms, *out* must be the file - descriptor of an open socket. + All platforms support sockets as *out* file descriptor, and some platforms + allow other types (e.g. regular file, pipe) as well. Availability: Unix. |
