From 2469a3ccdaaa41f13ba0e40a65ace286faccd76f Mon Sep 17 00:00:00 2001 From: Kostya Esmukov Date: Wed, 12 Dec 2018 10:22:31 +0300 Subject: [PATCH] Fix signature of ConfigParser's dict_type argument (#2684) --- stdlib/3/configparser.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/configparser.pyi b/stdlib/3/configparser.pyi index 5560cd38e..2df7b3381 100644 --- a/stdlib/3/configparser.pyi +++ b/stdlib/3/configparser.pyi @@ -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] = ...,