Created
June 23, 2015 18:47
-
-
Save mattip/76d48924ee2e8ed8ea0e to your computer and use it in GitHub Desktop.
poor choice of function name
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
#The function __A_ctor becomes _A__A_ctor automatically, causing | |
# https://bitbucket.org/pypy/numpy/issue/30 | |
class A(): | |
def get_ctor(self): | |
return __A_ctor() | |
def __A_ctor(): | |
return A() | |
if __name__ == '__main__': | |
a = A() | |
a.get_ctor() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment