mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Added ConfigParser.BOOLEAN_STATES # Undocumented (#3281)
This commit is contained in:
committed by
Jelle Zijlstra
parent
ed4b1de0ad
commit
c441a1f5b8
@@ -4,7 +4,7 @@
|
||||
import sys
|
||||
from typing import (AbstractSet, MutableMapping, Mapping, Dict, Sequence, List,
|
||||
Union, Iterable, Iterator, Callable, Any, IO, overload,
|
||||
Optional, Pattern, Type, TypeVar)
|
||||
Optional, Pattern, Type, TypeVar, ClassVar)
|
||||
# Types only used in type comments only
|
||||
from typing import Optional, Tuple # noqa
|
||||
|
||||
@@ -57,6 +57,7 @@ class LegacyInterpolation(Interpolation): ...
|
||||
|
||||
|
||||
class RawConfigParser(_parser):
|
||||
BOOLEAN_STATES: ClassVar[Mapping[str, bool]] = ... # Undocumented
|
||||
def __init__(self,
|
||||
defaults: Optional[_section] = ...,
|
||||
dict_type: Type[Mapping[str, str]] = ...,
|
||||
|
||||
Reference in New Issue
Block a user