Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1692335

Browse files
erlend-aaslandpull[bot]
authored andcommitted
gh-104146: Remove unused vars from Argument Clinic (#104627)
Remove 'in_classes' and 'so_far' from DSLParser.directive_module()
1 parent dd5b3f1 commit 1692335

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Tools/clinic/clinic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,10 +4230,8 @@ def directive_module(self, name):
42304230

42314231
def directive_class(self, name, typedef, type_object):
42324232
fields = name.split('.')
4233-
in_classes = False
42344233
parent = self
42354234
name = fields.pop()
4236-
so_far = []
42374235
module, cls = self.clinic._module_and_class(fields)
42384236

42394237
parent = cls or module

0 commit comments

Comments
 (0)