mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Update random.pyi
SystemRandom derives from Random (see http://svn.python.org/projects/python/branches/py3k/Lib/random.py).
This commit is contained in:
@@ -39,7 +39,7 @@ class Random(_random.Random):
|
||||
def weibullvariate(self, alpha: float, beta: float) -> float: ...
|
||||
|
||||
# SystemRandom is not implemented for all OS's; good on Windows & Linux
|
||||
class SystemRandom:
|
||||
class SystemRandom(Random):
|
||||
def __init__(self, randseed: object = ...) -> None: ...
|
||||
def random(self) -> float: ...
|
||||
def getrandbits(self, k: int) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user