Added some missing type annotations in stdlib stubs. (#4418)

Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
Eric TrautandEric Traut authored and GitHub committed 2020-08-08 20:49:37 +02:00
1 parent 030e5ad1dd
commit f46fb7ff59
16 files changed
+34 -31

No files matched your search

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