diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-05-18 21:52:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 21:52:59 (GMT) |
commit | 61027c0211adf50e81b202075246509775808482 (patch) | |
tree | a67644b3d52e99d917a0e6802901b8ccbc74b503 /Tools | |
parent | 0589c6a4d3d822cace42050198cb9a5e99c879ad (diff) | |
download | cpython-61027c0211adf50e81b202075246509775808482.zip cpython-61027c0211adf50e81b202075246509775808482.tar.gz cpython-61027c0211adf50e81b202075246509775808482.tar.bz2 |
gh-104146: Remove unused vars from Argument Clinic (#104627)
Remove 'in_classes' and 'so_far' from DSLParser.directive_module()
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/clinic/clinic.py | 2 |
1 files changed, 0 insertions, 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 |