mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 11:51:28 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -27,7 +27,7 @@ class Namespace:
|
||||
|
||||
_Namespace = Namespace
|
||||
|
||||
class Token(object):
|
||||
class Token:
|
||||
typeid: str | bytes | None
|
||||
address: tuple[str | bytes, int]
|
||||
id: str | bytes | int | None
|
||||
@@ -36,7 +36,7 @@ class Token(object):
|
||||
def __getstate__(self) -> tuple[str | bytes | None, tuple[str | bytes, int], str | bytes | int | None]: ...
|
||||
def __setstate__(self, state: tuple[str | bytes | None, tuple[str | bytes, int], str | bytes | int | None]) -> None: ...
|
||||
|
||||
class BaseProxy(object):
|
||||
class BaseProxy:
|
||||
_address_to_local: dict[Any, Any]
|
||||
_mutex: Any
|
||||
def __init__(
|
||||
|
||||
Reference in New Issue
Block a user