Issue #12196: Make os.pipe2() flags argument mandatory.
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 @@
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.