mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Actually Tuple[(int,) * 625]
|
||||
_State = tuple[int, ...]
|
||||
|
||||
class Random(object):
|
||||
class Random:
|
||||
def __init__(self, seed: object = ...) -> None: ...
|
||||
def seed(self, __n: object = ...) -> None: ...
|
||||
def getstate(self) -> _State: ...
|
||||
|
||||
Reference in New Issue
Block a user