Skip to content

Commit

Permalink
ip_interface can have tuple arguments (#9195)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Nov 14, 2022
1 parent f9cd5ee commit 0bd4e3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stdlib/ipaddress.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def ip_address(address: _RawIPAddress) -> IPv4Address | IPv6Address: ...
def ip_network(
address: _RawIPAddress | _RawNetworkPart | tuple[_RawIPAddress] | tuple[_RawIPAddress, int], strict: bool = ...
) -> IPv4Network | IPv6Network: ...
def ip_interface(address: _RawIPAddress | _RawNetworkPart) -> IPv4Interface | IPv6Interface: ...
def ip_interface(
address: _RawIPAddress | _RawNetworkPart | tuple[_RawIPAddress] | tuple[_RawIPAddress, int]
) -> IPv4Interface | IPv6Interface: ...

class _IPAddressBase:
@property
Expand Down

0 comments on commit 0bd4e3c

Please sign in to comment.