fix type for ipaddress._BaseNetwork.overlaps (#4124)

This commit is contained in:
Jelle Zijlstra authored and GitHub committed 2020-05-28 13:22:50 +02:00
1 parent a9d5a1ed99
commit ca553cd589
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ class _BaseNetwork(_IPAddressBase, Container[_A], Iterable[_A], Generic[_A]):
def max_prefixlen(self) -> int: ...
@property
def num_addresses(self) -> int: ...
def overlaps(self: _T, other: _T) -> bool: ...
def overlaps(self, other: _BaseNetwork) -> bool: ...
@property
def prefixlen(self) -> int: ...
if sys.version_info >= (3, 7):