mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
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:
@@ -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?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user