mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Use Literal type in configparser (#6900)
This commit is contained in:
@@ -16,8 +16,8 @@ if sys.version_info >= (3, 7):
|
||||
else:
|
||||
_Path = StrPath
|
||||
|
||||
DEFAULTSECT: str
|
||||
MAX_INTERPOLATION_DEPTH: int
|
||||
DEFAULTSECT: Literal["DEFAULT"]
|
||||
MAX_INTERPOLATION_DEPTH: Literal[10]
|
||||
|
||||
class Interpolation:
|
||||
def before_get(self, parser: _parser, section: str, option: str, value: str, defaults: _section) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user