summaryrefslogtreecommitdiffstats
path: root/Tools/clinic/libclinic
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-08-05 09:03:14 (GMT)
committerGitHub <noreply@github.com>2024-08-05 09:03:14 (GMT)
commit5207adf228547273b0e8d0253c23c69b95d7fe11 (patch)
treecaa1b869e37f341465fd0e3672f9fd5a77b9bb00 /Tools/clinic/libclinic
parentd0b92dd5ca46a10558857adeb7bb48ecf39fa783 (diff)
downloadcpython-5207adf228547273b0e8d0253c23c69b95d7fe11.zip
cpython-5207adf228547273b0e8d0253c23c69b95d7fe11.tar.gz
cpython-5207adf228547273b0e8d0253c23c69b95d7fe11.tar.bz2
build(deps-dev): bump mypy from 1.10.1 to 1.11.1 in /Tools (#122550)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
Diffstat (limited to 'Tools/clinic/libclinic')
-rw-r--r--Tools/clinic/libclinic/converter.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/clinic/libclinic/converter.py b/Tools/clinic/libclinic/converter.py
index 86853bb..2abf06d 100644
--- a/Tools/clinic/libclinic/converter.py
+++ b/Tools/clinic/libclinic/converter.py
@@ -545,7 +545,9 @@ def add_legacy_c_converter(
if not kwargs:
added_f = f
else:
- added_f = functools.partial(f, **kwargs)
+ # type ignore due to a mypy regression :(
+ # https://github.com/python/mypy/issues/17646
+ added_f = functools.partial(f, **kwargs) # type: ignore[misc]
if format_unit:
legacy_converters[format_unit] = added_f
return f