1.1 --- a/inspector.py Fri Sep 01 19:35:20 2023 +0200
1.2 +++ b/inspector.py Fri Sep 01 23:41:53 2023 +0200
1.3 @@ -907,20 +907,6 @@
1.4 self.set_special(n.name, value)
1.5 return value
1.6
1.7 - # Special case for loops.
1.8 -
1.9 - elif n.name == "$loop_exit":
1.10 -
1.11 - # Attempt to get a reference.
1.12 -
1.13 - ref = self.get_builtin("__loop_exit")
1.14 -
1.15 - # Record the imported name and provide the resolved name reference.
1.16 -
1.17 - value = ResolvedNameRef(n.name, ref)
1.18 - self.set_special(n.name, value)
1.19 - return value
1.20 -
1.21 # Test for self usage, which is only allowed in methods.
1.22
1.23 if n.name == "self" and not (self.in_function and self.in_class):