Fix signature of ConfigParser's dict_type argument (#2684)

This commit is contained in:
Kostya Esmukov
2018-12-12 10:22:31 +03:00
committed by Sebastian Rittau
parent 1b24d80087
commit 2469a3ccda

View File

@@ -136,7 +136,7 @@ class RawConfigParser(_parser):
class ConfigParser(RawConfigParser):
def __init__(self,
defaults: Optional[_section] = ...,
dict_type: Mapping[str, str] = ...,
dict_type: Type[Mapping[str, str]] = ...,
allow_no_value: bool = ...,
delimiters: Sequence[str] = ...,
comment_prefixes: Sequence[str] = ...,