mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
csv, ctypes, configparser explanations (#5204)
This commit is contained in:
@@ -45,7 +45,9 @@ class Interpolation:
|
||||
|
||||
class BasicInterpolation(Interpolation): ...
|
||||
class ExtendedInterpolation(Interpolation): ...
|
||||
class LegacyInterpolation(Interpolation): ...
|
||||
|
||||
class LegacyInterpolation(Interpolation):
|
||||
def before_get(self, parser: _parser, section: str, option: str, value: str, vars: _section) -> str: ...
|
||||
|
||||
class RawConfigParser(_parser):
|
||||
_SECT_TMPL: ClassVar[str] = ... # Undocumented
|
||||
@@ -188,7 +190,7 @@ class SectionProxy(MutableMapping[str, str]):
|
||||
def getboolean(
|
||||
self, option: str, fallback: _T = ..., *, raw: bool = ..., vars: Optional[_section] = ...
|
||||
) -> Union[bool, _T]: ...
|
||||
# SectionProxy can have arbitrary attributes when custon converters are used
|
||||
# SectionProxy can have arbitrary attributes when custom converters are used
|
||||
def __getattr__(self, key: str) -> Callable[..., Any]: ...
|
||||
|
||||
class ConverterMapping(MutableMapping[str, Optional[_converter]]):
|
||||
|
||||
Reference in New Issue
Block a user