gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894)

This commit is contained in:
Serhiy Storchaka 2023-07-21 12:34:30 +03:00 committed by GitHub
parent 8d397ee825
commit d036db728e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 111 additions and 111 deletions

View file

@ -1610,7 +1610,7 @@ improves performance.
If you ever encounter a presumed highly unusual situation where you need to
prevent ``vfork()`` from being used by Python, you can set the
:attr:`subprocess._USE_VFORK` attribute to a false value.
:const:`subprocess._USE_VFORK` attribute to a false value.
::
@ -1618,7 +1618,7 @@ prevent ``vfork()`` from being used by Python, you can set the
Setting this has no impact on use of ``posix_spawn()`` which could use
``vfork()`` internally within its libc implementation. There is a similar
:attr:`subprocess._USE_POSIX_SPAWN` attribute if you need to prevent use of
:const:`subprocess._USE_POSIX_SPAWN` attribute if you need to prevent use of
that.
::