Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stdlib/3.3/ipaddress.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Iterator, Optional, Tuple, TypeVar, Union
from typing import Any, Iterator, Optional, SupportsInt, Tuple, TypeVar, Union

_address = Union[bytes, int, str]

Expand All @@ -24,9 +24,9 @@ class _IPAddressBase(_TotalOrderingMixin):
@property
def version(self): ...

class _BaseAddress(_IPAddressBase):
class _BaseAddress(_IPAddressBase, SupportsInt):
def __init__(self, address) -> None: ...
def __int__(self): ...
def __int__(self) -> int: ...
def __eq__(self, other): ...
def __lt__(self, other): ...
def __add__(self, other): ...
Expand Down