summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorCharles-Francois Natali <cf.natali@gmail.com>2013-05-01 13:13:12 (GMT)
committerCharles-Francois Natali <cf.natali@gmail.com>2013-05-01 13:13:12 (GMT)
commitf18a82d95631e5b746129d792adeb920360d4fdc (patch)
tree14844c1316f1a2a36b68dbfe629542a27bfdbf64 /Doc/library
parented52f6cb73c9bda621503cbc558d3a1c3319e568 (diff)
parenta771a1b48e7fcf73b13e905f87f319fcd4cb25b2 (diff)
downloadcpython-f18a82d95631e5b746129d792adeb920360d4fdc.zip
cpython-f18a82d95631e5b746129d792adeb920360d4fdc.tar.gz
cpython-f18a82d95631e5b746129d792adeb920360d4fdc.tar.bz2
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 344218c..4ab5ebd 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.