mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Remove duplicate definitions in sub-classes (#8594)
This commit is contained in:
@@ -50,7 +50,6 @@ class Random(_random.Random):
|
||||
|
||||
def getstate(self) -> tuple[Any, ...]: ...
|
||||
def setstate(self, state: tuple[Any, ...]) -> None: ...
|
||||
def getrandbits(self, __k: int) -> int: ...
|
||||
def randrange(self, start: int, stop: int | None = ..., step: int = ...) -> int: ...
|
||||
def randint(self, a: int, b: int) -> int: ...
|
||||
if sys.version_info >= (3, 9):
|
||||
@@ -78,7 +77,6 @@ class Random(_random.Random):
|
||||
else:
|
||||
def sample(self, population: Sequence[_T] | AbstractSet[_T], k: int) -> list[_T]: ...
|
||||
|
||||
def random(self) -> float: ...
|
||||
def uniform(self, a: float, b: float) -> float: ...
|
||||
def triangular(self, low: float = ..., high: float = ..., mode: float | None = ...) -> float: ...
|
||||
def betavariate(self, alpha: float, beta: float) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user