def get_thing(self, idx):
try:<EOL><INDENT>idx = int(idx)<EOL><DEDENT>except ValueError:<EOL><INDENT>return None<EOL><DEDENT>if idx < <NUM_LIT:0> or idx >= len(self.things):<EOL><INDENT>return None<EOL><DEDENT>return self.things[idx]<EOL>
Get the thing at the given index.

idx -- the index