Definition at line 1364 of file general_optics.py. 01364 : 01365 "get an optic from our list by its identifier. If a mark is passed in of the form (self, item), use the item" 01366 if type(tag) is types.TupleType and tag[0] is self: 01367 return self.optics_dict[tag[1]] #in case the tag had our object identifier attached 01368 else: 01369 return self.optics_dict[tag] 01370 def __len__(self):
|