Example #1
0
 def copy(self):
     return util.deepcopy(self)
Example #2
0
 def load(self, filename):
     """Load entries from a WAD file. All lumps from the same
     section in that WAD is loaded (e.g. if this is a patch
     section, all patches in the WAD will be loaded."""
     iw = WAD(); iw.load(filename)
     self._lumps += util.deepcopy(iw.__dict__[self._sect_name]._lumps)