summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 09:40:37 (GMT)
committerGitHub <noreply@github.com>2023-07-21 09:40:37 (GMT)
commit4b9948617f91175783609769aa6160e5b49b9ccc (patch)
tree70ee26c5370423240516d52536ae9c23f64245c5 /Doc/faq
parentd036db728ea3d54509cbad06df74e2d9a31fbec8 (diff)
downloadcpython-4b9948617f91175783609769aa6160e5b49b9ccc.zip
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.gz
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.bz2
gh-106909: Use role :const: for referencing module constants (GH-106910)
Diffstat (limited to 'Doc/faq')
-rw-r--r--Doc/faq/library.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
index 22f7f84..9e37274 100644
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -566,7 +566,7 @@ use ``p.read(n)``.
Note on a bug in popen2: unless your program calls ``wait()`` or
``waitpid()``, finished child processes are never removed, and eventually
calls to popen2 will fail because of a limit on the number of child
- processes. Calling :func:`os.waitpid` with the :data:`os.WNOHANG` option can
+ processes. Calling :func:`os.waitpid` with the :const:`os.WNOHANG` option can
prevent this; a good place to insert such a call would be before calling
``popen2`` again.