gh-104146: Remove unused vars from Argument Clinic (#104627)

Remove 'in_classes' and 'so_far' from DSLParser.directive_module()
This commit is contained in:
Erlend E. Aasland 2023-05-18 23:52:59 +02:00 committed by GitHub
parent 0589c6a4d3
commit 61027c0211
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -4230,10 +4230,8 @@ class DSLParser:
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