introduce an is_scope function to make it easier to work with scopes

This commit is contained in:
Dave Halter
2014-06-20 17:47:42 +02:00
parent 3ee3a04bcb
commit ddca14980e
4 changed files with 12 additions and 4 deletions

View File

@@ -169,6 +169,9 @@ class CompiledObject(Base):
faked_subscopes.append(f)
return faked_subscopes
def is_scope(self):
return True
def get_self_attributes(self):
return [] # Instance compatibility