mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
10 lines
284 B
Python
10 lines
284 B
Python
from ipaddress import IPv6Address
|
|
from typing import Any
|
|
|
|
MAX_IPV6_ADDRESS_LENGTH: int
|
|
|
|
def clean_ipv6_address(
|
|
ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39
|
|
) -> str: ...
|
|
def is_valid_ipv6_address(ip_addr: str | IPv6Address) -> bool: ...
|