diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2023-11-10 16:00:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-10 16:00:50 (GMT) |
commit | 2e7f0700800c0337a0b1b9471fcef410e3158250 (patch) | |
tree | 14253e5dea39c7aae85be8d714ae054529e13b94 /Tools/clinic | |
parent | d61313bdb1eee3e4bb111e0b248ac2dbb48be917 (diff) | |
download | cpython-2e7f0700800c0337a0b1b9471fcef410e3158250.zip cpython-2e7f0700800c0337a0b1b9471fcef410e3158250.tar.gz cpython-2e7f0700800c0337a0b1b9471fcef410e3158250.tar.bz2 |
Bump mypy to 1.7.0 (#111961)
Diffstat (limited to 'Tools/clinic')
-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 5f94b90a..2ea93e6 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -3123,9 +3123,7 @@ def add_legacy_c_converter( if not kwargs: added_f = f else: - # mypy's special-casing for functools.partial - # can't quite grapple with this code here - added_f = functools.partial(f, **kwargs) # type: ignore[arg-type] + added_f = functools.partial(f, **kwargs) if format_unit: legacy_converters[format_unit] = added_f return f |