summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTools/clinic/clinic.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index 5d2617b..7906e7c 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -4069,8 +4069,6 @@ class str_converter(CConverter):
# mapping from arguments to format unit *and* registers the
# legacy C converter for that format unit.
#
-ConverterKeywordDict = dict[str, TypeSet | bool]
-
def r(format_unit: str,
*,
accept: TypeSet,
@@ -4086,7 +4084,7 @@ def r(format_unit: str,
#
# also don't add the converter for 's' because
# the metaclass for CConverter adds it for us.
- kwargs: ConverterKeywordDict = {}
+ kwargs: dict[str, Any] = {}
if accept != {str}:
kwargs['accept'] = accept
if zeroes: