diff options
author | Charles-François Natali <neologix@free.fr> | 2011-06-06 17:49:47 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-06-06 17:49:47 (GMT) |
commit | 368f34bb4b877495ecb574cb9f17fe330b338cff (patch) | |
tree | 656c80c16a02cac449268a8f0fe5e5f4da97813c /Doc | |
parent | 34b312e33dec43f9329f5e763be38f1584efffeb (diff) | |
download | cpython-368f34bb4b877495ecb574cb9f17fe330b338cff.zip cpython-368f34bb4b877495ecb574cb9f17fe330b338cff.tar.gz cpython-368f34bb4b877495ecb574cb9f17fe330b338cff.tar.bz2 |
Issue #12196: Make os.pipe2() flags argument mandatory.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index c62a00d..06f6b7f 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1019,11 +1019,11 @@ as internal buffering of data. Availability: Unix, Windows. -.. function:: pipe2(flags=0) +.. function:: pipe2(flags) Create a pipe with *flags* set atomically. - *flags* is optional and can be constructed by ORing together zero or more of - these values: :data:`O_NONBLOCK`, :data:`O_CLOEXEC`. + *flags* can be constructed by ORing together one or more of these values: + :data:`O_NONBLOCK`, :data:`O_CLOEXEC`. Return a pair of file descriptors ``(r, w)`` usable for reading and writing, respectively. |