mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Fix a few issues with parameter defaults (#9572)
This commit is contained in:
@@ -779,7 +779,12 @@ else:
|
||||
if sys.version_info >= (3, 8):
|
||||
def has_dualstack_ipv6() -> bool: ...
|
||||
def create_server(
|
||||
address: _Address, *, family: int = 2, backlog: int | None = None, reuse_port: bool = False, dualstack_ipv6: bool = False
|
||||
address: _Address,
|
||||
*,
|
||||
family: int = ...,
|
||||
backlog: int | None = None,
|
||||
reuse_port: bool = False,
|
||||
dualstack_ipv6: bool = False,
|
||||
) -> socket: ...
|
||||
|
||||
# the 5th tuple item is an address
|
||||
|
||||
Reference in New Issue
Block a user