[3.12] gh-107091: Fix some uses of :const: role (GH-107379) by miss-islington · Pull Request #107384 · python/cpython
- :const:`0` means unbuffered (read and write are one - ``0`` means unbuffered (read and write are one system call and can return short) - :const:`1` means line buffered - ``1`` means line buffered (only usable if ``text=True`` or ``universal_newlines=True``) - any other positive value means use a buffer of approximately that size
If *close_fds* is true, all file descriptors except :const:`0`, :const:`1` and :const:`2` will be closed before the child process is executed. Otherwise If *close_fds* is true, all file descriptors except ``0``, ``1`` and ``2`` will be closed before the child process is executed. Otherwise when *close_fds* is false, file descriptors obey their inheritable flag as described in :ref:`fd_inheritance`.