mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 04:11:26 +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:
1 parent
28e1cbec46
commit
c62821221a
1 file changed
+1
-1
+1
-1
@@ -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