Commit 4c7f6c15 authored by Michel Pelletier's avatar Michel Pelletier

refactored, added attribute interface methods

parent f106ca05
class Attribute: from InterfaceBase import InterfaceBase
class Attribute(InterfaceBase):
"""Attribute descriptions """Attribute descriptions
""" """
...@@ -8,3 +10,9 @@ class Attribute: ...@@ -8,3 +10,9 @@ class Attribute:
""" """
self.__name__=__name__ self.__name__=__name__
self.__doc__=__doc__ or __name__ self.__doc__=__doc__ or __name__
def isAttr(self):
return 1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment