Skip to content

Instantly share code, notes, and snippets.

/test.py Secret
Created Dec 27, 2016

Embed
What would you like to do?
class Test(object):
def __getitem__(self, val):
return val
range = Test()
for i in range[1, 2, 3, 4, 5]:
print(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.