mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 05:02:31 -06:00
6 lines
140 B
Python
6 lines
140 B
Python
|
|
||
|
def __getitem__(self, n):
|
||
|
if n < 0 or n >= self.getNumWords():
|
||
|
raise IndexError
|
||
|
return self.getWord(n)
|