mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove Python 3.6 branches from typeshed (#8269)
This commit is contained in:
@@ -109,10 +109,8 @@ class _BaseNetwork(_IPAddressBase, Container[_A], Iterable[_A], Generic[_A]):
|
||||
def overlaps(self, other: _BaseNetwork[IPv4Address] | _BaseNetwork[IPv6Address]) -> bool: ...
|
||||
@property
|
||||
def prefixlen(self) -> int: ...
|
||||
if sys.version_info >= (3, 7):
|
||||
def subnet_of(self: Self, other: Self) -> bool: ...
|
||||
def supernet_of(self: Self, other: Self) -> bool: ...
|
||||
|
||||
def subnet_of(self: Self, other: Self) -> bool: ...
|
||||
def supernet_of(self: Self, other: Self) -> bool: ...
|
||||
def subnets(self: Self, prefixlen_diff: int = ..., new_prefix: int | None = ...) -> Iterator[Self]: ...
|
||||
def supernet(self: Self, prefixlen_diff: int = ..., new_prefix: int | None = ...) -> Self: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user