mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
subprocess: Add _USE_VFORK and _USE_POSIX_SPAWN (#7687)
These are now documented: python/cpython#91490
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user