Added ConfigParser.BOOLEAN_STATES # Undocumented (#3281)

This commit is contained in:
Vasily Zakharov
2019-09-30 18:10:48 +03:00
committed by Jelle Zijlstra
parent ed4b1de0ad
commit c441a1f5b8

View File

@@ -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]] = ...,