Poodletooth-iLand/panda/direct/extensions/ConfigVariableBool-extensions.py

6 lines
140 B
Python
Raw Normal View History

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