-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
gh-140980: document SET_FUNCTION_ATTRIBUTE flag for annotate function
#141306
New issue
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
gh-140980: document SET_FUNCTION_ATTRIBUTE flag for annotate function
#141306
Conversation
SET_FUNCTION_ATTRIBUTE in dis
SET_FUNCTION_ATTRIBUTE in disSET_FUNCTION_ATTRIBUTE in dis
| Added ``0x10`` to indicate the annotate function for the function object. | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put two blank lines between the end the sentence and the next .. opcode::? (see other paragraphs to check how they are separated)
ae00464 to
38151bf
Compare
SET_FUNCTION_ATTRIBUTE in disSET_FUNCTION_ATTRIBUTE flag for annotate function
|
Thanks @Lakshya-Upadhyaya for the PR, and @picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thank you! |
…` function (pythonGH-141306) (cherry picked from commit 6f20ea1) Co-authored-by: Lakshya Upadhyaya <[email protected]>
|
GH-141316 is a backport of this pull request to the 3.14 branch. |
Fixes gh-140980
This adds documentation for the
0x10bit flag (annotate) that was added toSET_FUNCTION_ATTRIBUTEin #124566. The bit sets the annotate function forthe function object.
📚 Documentation preview 📚: https://cpython-previews--141306.org.readthedocs.build/