From ee9014d54e3143d0a47780458a47d91d614955ed Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Wed, 13 Apr 2022 12:14:20 +0100 Subject: [PATCH] Add back six.moves.configparser.Error It got removed as an unintended side effect of #7300. It's available at runtime: ``` >>> import configparser >>> configparser.Error >>> import six.moves >>> six.moves.configparser.Error ``` --- stubs/six/six/moves/configparser.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stubs/six/six/moves/configparser.pyi b/stubs/six/six/moves/configparser.pyi index 044861ce0c38..3367dbd19622 100644 --- a/stubs/six/six/moves/configparser.pyi +++ b/stubs/six/six/moves/configparser.pyi @@ -1 +1,3 @@ +# Error is not included in __all__ so export it explicitly from configparser import * +from configparser import Error as Error