mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-12 05:01:40 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -7,7 +7,7 @@ families: list[None]
|
||||
|
||||
_Address = Union[str, tuple[str, int]]
|
||||
|
||||
class Connection(object):
|
||||
class Connection:
|
||||
_in: Any
|
||||
_out: Any
|
||||
recv: Any
|
||||
@@ -22,7 +22,7 @@ class Connection(object):
|
||||
def close(self) -> None: ...
|
||||
def poll(self, timeout: float = ...) -> bool: ...
|
||||
|
||||
class Listener(object):
|
||||
class Listener:
|
||||
_backlog_queue: Queue[Any] | None
|
||||
@property
|
||||
def address(self) -> Queue[Any] | None: ...
|
||||
|
||||
Reference in New Issue
Block a user