Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood
2023-03-21 08:12:34 +00:00
committed by GitHub
parent 151159709d
commit dd2818a41d
66 changed files with 246 additions and 242 deletions

View File

@@ -47,8 +47,8 @@ class Template(metaclass=_TemplateMetaclass):
flags: ClassVar[RegexFlag]
pattern: ClassVar[Pattern[str]]
def __init__(self, template: str) -> None: ...
def substitute(self, __mapping: Mapping[str, object] = ..., **kwds: object) -> str: ...
def safe_substitute(self, __mapping: Mapping[str, object] = ..., **kwds: object) -> str: ...
def substitute(self, __mapping: Mapping[str, object] = {}, **kwds: object) -> str: ...
def safe_substitute(self, __mapping: Mapping[str, object] = {}, **kwds: object) -> str: ...
if sys.version_info >= (3, 11):
def get_identifiers(self) -> list[str]: ...
def is_valid(self) -> bool: ...