Definition at line 1386 of file general_optics.py. 01386 : 01387 self.color=color 01388 self.marks=marks 01389 #copy any extra information directly into the class dictionary 01390 for i in extras.keys(): 01391 setattr(self, i, extras[i]) 01392 def __getitem__(self, index):
|