Created
April 23, 2017 14:58
-
-
Save MSeifert04/13e2b3cf434f6f67c81be52a62168b0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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