mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-29 06:32:40 -06:00
5 lines
140 B
Python
Executable file
5 lines
140 B
Python
Executable file
|
|
def __getitem__(self, n):
|
|
if n < 0 or n >= self.getNumWords():
|
|
raise IndexError
|
|
return self.getWord(n)
|