inheritance

This commit is contained in:
David Halter
2012-05-03 02:47:58 +02:00
parent 1aae9a5d19
commit 9f8e0f46f6
3 changed files with 18 additions and 8 deletions

View File

@@ -884,13 +884,6 @@ class Name(Simple):
""" Returns the names in a full string format """
return ".".join(self.names)
def in_iterable(self, iterable):
for i in iterable:
if i.names == self.names:
return True
return False
def __str__(self):
return self.get_code()