mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 10:51:15 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -4,7 +4,7 @@ from distutils.cmd import Command
|
||||
from typing import IO, Any
|
||||
|
||||
class DistributionMetadata:
|
||||
def __init__(self, path: FileDescriptorOrPath | None = ...) -> None: ...
|
||||
def __init__(self, path: FileDescriptorOrPath | None = None) -> None: ...
|
||||
name: str | None
|
||||
version: str | None
|
||||
author: str | None
|
||||
@@ -53,7 +53,7 @@ class DistributionMetadata:
|
||||
class Distribution:
|
||||
cmdclass: dict[str, type[Command]]
|
||||
metadata: DistributionMetadata
|
||||
def __init__(self, attrs: Mapping[str, Any] | None = ...) -> None: ...
|
||||
def __init__(self, attrs: Mapping[str, Any] | None = None) -> None: ...
|
||||
def get_option_dict(self, command: str) -> dict[str, tuple[str, str]]: ...
|
||||
def parse_config_files(self, filenames: Iterable[str] | None = ...) -> None: ...
|
||||
def parse_config_files(self, filenames: Iterable[str] | None = None) -> None: ...
|
||||
def get_command_obj(self, command: str, create: bool = ...) -> Command | None: ...
|
||||
|
||||
Reference in New Issue
Block a user