mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Bump netaddr to version 1.3 (#12057)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "1.2.*"
|
||||
version = "1.3.*"
|
||||
upstream_repository = "https://github.com/drkjam/netaddr"
|
||||
|
||||
@@ -92,10 +92,12 @@ class IPListMixin:
|
||||
def __contains__(self, other: BaseIP | _IPAddressAddr) -> bool: ...
|
||||
def __bool__(self) -> Literal[True]: ...
|
||||
|
||||
def parse_ip_network(module, addr: tuple[int, int] | str, flags: int = 0) -> tuple[int, int]: ...
|
||||
def parse_ip_network(module, addr: tuple[int, int] | str, flags: int = 0, *, expand_partial: bool = False) -> tuple[int, int]: ...
|
||||
|
||||
class IPNetwork(BaseIP, IPListMixin):
|
||||
def __init__(self, addr: _IPNetworkAddr, version: Literal[4, 6] | None = None, flags: int = 0) -> None: ...
|
||||
def __init__(
|
||||
self, addr: _IPNetworkAddr, version: Literal[4, 6] | None = None, flags: int = 0, *, expand_partial: bool = False
|
||||
) -> None: ...
|
||||
@property
|
||||
def prefixlen(self) -> int: ...
|
||||
@prefixlen.setter
|
||||
|
||||
Reference in New Issue
Block a user