Skip to content

Instantly share code, notes, and snippets.

/ Secret
Created Dec 27, 2016

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]:
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.