mirror of https://github.com/python/cpython
gh-104146: Remove unused vars from Argument Clinic (#104627)
Remove 'in_classes' and 'so_far' from DSLParser.directive_module()
This commit is contained in:
parent
0589c6a4d3
commit
61027c0211
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue