mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
Remove list return type from _BaseNetwork.hosts (#15047)
Per https://github.com/python/cpython/issues/141497#issuecomment-3546793394 Thanks to serhiy-storchaka for the notification
This commit is contained in:
@@ -73,7 +73,7 @@ class _BaseNetwork(_IPAddressBase, Generic[_A]):
|
||||
@property
|
||||
def broadcast_address(self) -> _A: ...
|
||||
def compare_networks(self, other: Self) -> int: ...
|
||||
def hosts(self) -> Iterator[_A] | list[_A]: ...
|
||||
def hosts(self) -> Iterator[_A]: ...
|
||||
@property
|
||||
def is_global(self) -> bool: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user