Never explicitly inherit from object in Python 3-only stubs (#6777)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-01-02 07:24:48 +01:00
1 parent d43cd997a4
commit 505ea72641
35 files changed
+79 -67

No files matched your search

+1 -1
View File
@@ -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: ...