Poodletooth-iLand/dependencies/panda/direct/extensions/ConfigVariableDouble-extensions.py

6 lines
140 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
def __getitem__(self, n):
if n < 0 or n >= self.getNumWords():
raise IndexError
return self.getWord(n)