equal
deleted
inserted
replaced
859 # - None: not started, |
859 # - None: not started, |
860 # - False: currently generated, |
860 # - False: currently generated, |
861 # - True: generation done. |
861 # - True: generation done. |
862 self._generated = None |
862 self._generated = None |
863 self.mandatory = mandatory |
863 self.mandatory = mandatory |
|
864 |
|
865 def __repr__(self): |
|
866 cls = "%s.%s" % (self.__class__.__module__, self.__class__.__name__) |
|
867 return ('<%s object at %x; id: %s; type: %s; mandatory: %s>' |
|
868 % (cls, id(self), self.id, self.type, self.mandatory)) |
864 |
869 |
865 def copy(self): |
870 def copy(self): |
866 """return a copy of the part |
871 """return a copy of the part |
867 |
872 |
868 The new part have the very same content but no partid assigned yet. |
873 The new part have the very same content but no partid assigned yet. |