8000 Apply suggestions from code review · python/cpython@7846792 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7846792

Browse files
Apply suggestions from code review
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
1 parent 61fff9d commit 7846792

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/clinic/clinic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,7 @@ def parse_file(
19881988
libclinic.write_file(output, cooked)
19891989

19901990

1991-
def create_python_parser_namespace() -> dict[str, Any]:
1991+
def create_parser_namespace() -> dict[str, Any]:
19921992
ns = dict(
19931993
CConverter=CConverter,
19941994
CReturnConverter=CReturnConverter,
@@ -2006,7 +2006,7 @@ def create_python_parser_namespace() -> dict[str, Any]:
20062006

20072007
class PythonParser:
20082008
def __init__(self, clinic: Clinic) -> None:
2009-
self.namespace = create_python_parser_namespace()
2009+
self.namespace = create_parser_namespace()
20102010

20112011
def parse(self, block: Block) -> None:
20122012
ns = dict(self.namespace)

0 commit comments

Comments
 (0)
0