Skip to content

Commit 1e96a30

Browse files
authored
Update django to 5.1.6 (#2503)
1 parent 02ad718 commit 1e96a30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django-stubs/utils/ipv6.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
from ipaddress import IPv6Address
12
from typing import Any
23

34
MAX_IPV6_ADDRESS_LENGTH: int
45

56
def clean_ipv6_address(
67
ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39
78
) -> str: ...
8-
def is_valid_ipv6_address(ip_str: str) -> bool: ...
9+
def is_valid_ipv6_address(ip_str: str | IPv6Address) -> bool: ...

0 commit comments

Comments
 (0)