Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3f462c

Browse files
authored
Remove ConverterKeywordDict alias in clinic.py (#115843)
1 parent a33ffe4 commit e3f462c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Tools/clinic/clinic.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4069,8 +4069,6 @@ def parse_arg(self, argname: str, displayname: str, *, limited_capi: bool) -> st
40694069
# mapping from arguments to format unit *and* registers the
40704070
# legacy C converter for that format unit.
40714071
#
4072-
ConverterKeywordDict = dict[str, TypeSet | bool]
4073-
40744072
def r(format_unit: str,
40754073
*,
40764074
accept: TypeSet,
@@ -4086,7 +4084,7 @@ def r(format_unit: str,
40864084
#
40874085
# also don't add the converter for 's' because
40884086
# the metaclass for CConverter adds it for us.
4089-
kwargs: ConverterKeywordDict = {}
4087+
kwargs: dict[str, Any] = {}
40904088
if accept != {str}:
40914089
kwargs['accept'] = accept
40924090
if zeroes:

0 commit comments

Comments
 (0)