mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
InstanceElement cleanup, not all tests pass, though
This commit is contained in:
@@ -98,6 +98,7 @@ class Simple(Base):
|
||||
self.end_pos = end_pos
|
||||
self.parent = lambda: None
|
||||
|
||||
@Python3Method
|
||||
def get_parent_until(self, *classes):
|
||||
""" Takes always the parent, until one class (not a Class) """
|
||||
scope = self
|
||||
|
||||
Reference in New Issue
Block a user