From 61027c0211adf50e81b202075246509775808482 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Thu, 18 May 2023 23:52:59 +0200 Subject: gh-104146: Remove unused vars from Argument Clinic (#104627) Remove 'in_classes' and 'so_far' from DSLParser.directive_module() --- Tools/clinic/clinic.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 5fcf2bf..ebee978 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -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 -- cgit v0.12