We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ipaddress._BaseNetwork.hosts
1 parent 6ab603f commit c0fed91Copy full SHA for c0fed91
1 file changed
stdlib/ipaddress.pyi
@@ -73,7 +73,7 @@ class _BaseNetwork(_IPAddressBase, Generic[_A]):
73
@property
74
def broadcast_address(self) -> _A: ...
75
def compare_networks(self, other: Self) -> int: ...
76
- def hosts(self) -> Iterator[_A]: ...
+ def hosts(self) -> Iterator[_A] | list[_A]: ...
77
78
def is_global(self) -> bool: ...
79
0 commit comments