InstanceElement cleanup, not all tests pass, though

This commit is contained in:
David Halter
2012-09-04 08:54:13 +02:00
parent a5d1427b09
commit 37df118519
3 changed files with 15 additions and 12 deletions

View File

@@ -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