_random: mark positional-only args (#3697)

This commit is contained in:
Shantanu
2020-02-01 09:28:15 -08:00
committed by GitHub
parent f4787297e9
commit a8f31b9c51

View File

@@ -8,10 +8,10 @@ _State = Tuple[int, ...]
class Random(object):
def __init__(self, seed: object = ...) -> None: ...
def seed(self, x: object = ...) -> None: ...
def seed(self, __n: object = ...) -> None: ...
def getstate(self) -> _State: ...
def setstate(self, state: _State) -> None: ...
def setstate(self, __state: _State) -> None: ...
def random(self) -> float: ...
def getrandbits(self, k: int) -> int: ...
def getrandbits(self, __k: int) -> int: ...
if sys.version_info < (3,):
def jumpahead(self, i: int) -> None: ...