diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2024-02-23 09:00:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 09:00:07 (GMT) |
commit | e3f462c9a73d2a6e79aacce7f25aaac361c2d743 (patch) | |
tree | 2eacb7de56d7057d8aa0d6af129a35b5f1313def /Tools | |
parent | a33ffe4785f90f68227ddf2ec3e06d5ceaf76cec (diff) | |
download | cpython-e3f462c9a73d2a6e79aacce7f25aaac361c2d743.zip cpython-e3f462c9a73d2a6e79aacce7f25aaac361c2d743.tar.gz cpython-e3f462c9a73d2a6e79aacce7f25aaac361c2d743.tar.bz2 |
Remove `ConverterKeywordDict` alias in `clinic.py` (#115843)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/clinic/clinic.py | 4 |
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: |