We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
python
Learn more about funding links in repositories.
Report abuse
1 parent a9c6e06 commit 66558d2Copy full SHA for 66558d2
Tools/clinic/clinic.py
@@ -814,13 +814,11 @@ def output_templates(self, f):
814
# parser_body_fields remembers the fields passed in to the
815
# previous call to parser_body. this is used for an awful hack.
816
parser_body_fields = ()
817
- parser_body_declarations = ''
818
def parser_body(prototype, *fields, declarations=''):
819
- nonlocal parser_body_fields, parser_body_declarations
+ nonlocal parser_body_fields
820
add, output = text_accumulator()
821
add(prototype)
822
parser_body_fields = fields
823
- parser_body_declarations = declarations
824
825
fields = list(fields)
826
fields.insert(0, normalize_snippet("""
0 commit comments