diff --git a/third_party/2and3/Crypto/Random/random.pyi b/third_party/2and3/Crypto/Random/random.pyi index 8238b6cab..6040a14b5 100644 --- a/third_party/2and3/Crypto/Random/random.pyi +++ b/third_party/2and3/Crypto/Random/random.pyi @@ -5,14 +5,14 @@ _T = TypeVar('_T') class StrongRandom: def __init__(self, rng: Optional[Any] = ..., randfunc: Optional[Any] = ...) -> None: ... def getrandbits(self, k: int) -> int: ... - def randrange(self, *args: int) -> int: ... + def randrange(self, start: int, stop: int = ..., step: int = ...) -> int: ... def randint(self, a: int, b: int) -> int: ... def choice(self, seq: Sequence[_T]) -> _T: ... def shuffle(self, x: Sequence[Any]): ... def sample(self, population: Sequence[_T], k: int) -> List[_T]: ... def getrandbits(k: int) -> int: ... -def randrange(*args: int) -> int: ... +def randrange(start: int, stop: int = ..., step: int = ...) -> int: ... def randint(a: int, b: int) -> int: ... def choice(seq: Sequence[_T]) -> _T: ... def shuffle(x: Sequence[Any]): ...