Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-104146: Remove unused vars from Argument Clinic
Remove 'in_classes' and 'so_far' from DSLParser.directive_module()
  • Loading branch information
erlend-aasland committed May 18, 2023
commit 8f6b8401e2ffc71219c3aa93860586d4aa4d0368
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