Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e3f462c

Browse filesBrowse files
authored
Remove ConverterKeywordDict alias in clinic.py (#115843)
1 parent a33ffe4 commit e3f462c
Copy full SHA for e3f462c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-3
lines changed

‎Tools/clinic/clinic.py

Copy file name to clipboardExpand all lines: Tools/clinic/clinic.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4069,8 +4069,6 @@ def parse_arg(self, argname: str, displayname: str, *, limited_capi: bool) -> st
40694069
# mapping from arguments to format unit *and* registers the
40704070
# legacy C converter for that format unit.
40714071
#
4072-
ConverterKeywordDict = dict[str, TypeSet | bool]
4073-
40744072
def r(format_unit: str,
40754073
*,
40764074
accept: TypeSet,
@@ -4086,7 +4084,7 @@ def r(format_unit: str,
40864084
#
40874085
# also don't add the converter for 's' because
40884086
# the metaclass for CConverter adds it for us.
4089-
kwargs: ConverterKeywordDict = {}
4087+
kwargs: dict[str, Any] = {}
40904088
if accept != {str}:
40914089
kwargs['accept'] = accept
40924090
if zeroes:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.