We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#721 replaces __class__ with the name of the class in the AST.
__class__
import ast x = """ class test(object): def test(self): return __class__ """ a = compile(x, "", "exec", flags=0x400) assert a.body[0].body[0].body[0].value.id == "__class__"
Related to #722
The text was updated successfully, but these errors were encountered:
Resolved by #1087
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
#721 replaces
__class__
with the name of the class in the AST.Related to #722
The text was updated successfully, but these errors were encountered: