Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d61313b commit 2e7f070Copy full SHA for 2e7f070
2 files changed
Tools/clinic/clinic.py
@@ -3123,9 +3123,7 @@ def closure(f: CConverterClassT) -> CConverterClassT:
3123
if not kwargs:
3124
added_f = f
3125
else:
3126
- # mypy's special-casing for functools.partial
3127
- # can't quite grapple with this code here
3128
- added_f = functools.partial(f, **kwargs) # type: ignore[arg-type]
+ added_f = functools.partial(f, **kwargs)
3129
if format_unit:
3130
legacy_converters[format_unit] = added_f
3131
return f
Tools/requirements-dev.txt
@@ -1,6 +1,6 @@
1
# Requirements file for external linters and checks we run on
2
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
3
-mypy==1.6.1
+mypy==1.7.0
4
5
# needed for peg_generator:
6
types-psutil==5.9.5.17
0 commit comments