mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Fix several new-in-3.11 stubtest errors (#7973)
This commit is contained in:
@@ -45,6 +45,9 @@ class Template:
|
||||
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: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
def get_identifiers(self) -> list[str]: ...
|
||||
def is_valid(self) -> bool: ...
|
||||
|
||||
# TODO(MichalPokorny): This is probably badly and/or loosely typed.
|
||||
class Formatter:
|
||||
|
||||
Reference in New Issue
Block a user