subprocess: Add _USE_VFORK and _USE_POSIX_SPAWN (#7687)

These are now documented: python/cpython#91490
This commit is contained in:
Jelle Zijlstra
2022-04-25 20:13:39 -07:00
committed by GitHub
parent 3a98e8be6b
commit 08ae9f324b

View File

@@ -118,6 +118,12 @@ else:
_T = TypeVar("_T")
# These two are private but documented
if sys.version_info >= (3, 11):
_USE_VFORK: bool
if sys.version_info >= (3, 8):
_USE_POSIX_SPAWN: bool
class CompletedProcess(Generic[_T]):
# morally: _CMD
args: Any