Skip to content

Commit

Permalink
gh-104146: Remove unused vars from Argument Clinic (#104627)
Browse files Browse the repository at this point in the history
Remove 'in_classes' and 'so_far' from DSLParser.directive_module()
  • Loading branch information
erlend-aasland authored May 18, 2023
1 parent 0589c6a commit 61027c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4230,10 +4230,8 @@ def directive_module(self, name):

def directive_class(self, name, typedef, type_object):
fields = name.split('.')
in_classes = False
parent = self
name = fields.pop()
so_far = []
module, cls = self.clinic._module_and_class(fields)

parent = cls or module
Expand Down

0 comments on commit 61027c0

Please sign in to comment.