Mark the arguments to os.killpg as positional-only in Python 2. (#4033)

This was already done in Python 3. In Python 2 as well, this method does
not take keyword arguments.
This commit is contained in:
Rebecca Chen
2020-05-17 18:06:35 -07:00
committed by GitHub
parent a70f4893f8
commit 037377f502

View File

@@ -291,7 +291,7 @@ if sys.platform != 'win32':
# Unix only
def fork() -> int: ...
def forkpty() -> Tuple[int, int]: ... # some flavors of Unix
def killpg(pgid: int, sig: int) -> None: ...
def killpg(__pgid: int, __signal: int) -> None: ...
def nice(increment: int) -> int: ...
def plock(op: int) -> None: ... # ???op is int?