Skip to content

Instantly share code, notes, and snippets.

@MSeifert04
Created April 23, 2017 14:58
Show Gist options
  • Save MSeifert04/13e2b3cf434f6f67c81be52a62168b0c to your computer and use it in GitHub Desktop.
Save MSeifert04/13e2b3cf434f6f67c81be52a62168b0c to your computer and use it in GitHub Desktop.
class A(object):
def __reversed__(self):
return [1,2,3]
reversed(A())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment