[Python-checkins] cpython (3.3): Issue #17529: Fix os.sendfile() documentation regarding the type of file

charles-francois.natali python-checkins at python.org
Wed May 1 15:16:32 CEST 2013


http://hg.python.org/cpython/rev/4f45f9cde9b4
changeset:   83583:4f45f9cde9b4
branch:      3.3
parent:      83576:4e58cafbebfc
user:        Charles-Francois Natali <cf.natali at gmail.com>
date:        Wed May 01 15:12:20 2013 +0200
summary:
  Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.

files:
  Doc/library/os.rst |  5 ++---
  1 files changed, 2 insertions(+), 3 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -999,9 +999,8 @@
    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.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list