summaryrefslogtreecommitdiffstats
path: root/Tools/clinic
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-11-10 16:00:50 (GMT)
committerGitHub <noreply@github.com>2023-11-10 16:00:50 (GMT)
commit2e7f0700800c0337a0b1b9471fcef410e3158250 (patch)
tree14253e5dea39c7aae85be8d714ae054529e13b94 /Tools/clinic
parentd61313bdb1eee3e4bb111e0b248ac2dbb48be917 (diff)
downloadcpython-2e7f0700800c0337a0b1b9471fcef410e3158250.zip
cpython-2e7f0700800c0337a0b1b9471fcef410e3158250.tar.gz
cpython-2e7f0700800c0337a0b1b9471fcef410e3158250.tar.bz2
Bump mypy to 1.7.0 (#111961)
Diffstat (limited to 'Tools/clinic')
-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 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