Skip to content

Commit

Permalink
subprocess: Add _USE_VFORK and _USE_POSIX_SPAWN (#7687)
Browse files Browse the repository at this point in the history
These are now documented: python/cpython#91490
  • Loading branch information
JelleZijlstra authored Apr 26, 2022
1 parent 3a98e8b commit 08ae9f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stdlib/subprocess.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08ae9f3

Please sign in to comment.