-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
co_qualname "new in version" information missing in doc #115405
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
Comments
Some proposal fix: index 885ee825c1..88bc025c7c 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1134,6 +1134,8 @@ Special read-only attributes
* - .. attribute:: codeobject.co_qualname
- The fully qualified function name
+ .. versionadded:: 3.11
+
* - .. attribute:: codeobject.co_argcount
- The total number of positional :term:`parameters <parameter>`
(including positional-only parameters and parameters with default values) |
Looks good to me! Would you like to make a PR? |
ok, I'll do that. |
AlexWaygood
pushed a commit
that referenced
this issue
Feb 13, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 13, 2024
… documentation (pythonGH-115411) (cherry picked from commit de07941) Co-authored-by: Christophe Papazian <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Feb 13, 2024
… documentation (pythonGH-115411) (cherry picked from commit de07941) Co-authored-by: Christophe Papazian <[email protected]>
fsc-eriker
pushed a commit
to fsc-eriker/cpython
that referenced
this issue
Feb 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
Usually documentation includes deprecated or "new in version" tags for all features.
the field
co_qualname
in code objects was added in python 3.11 but the documentation does not precise that, and it feels like it was always definedhttps://docs.python.org/3/reference/datamodel.html#index-58
Linked PRs
The text was updated successfully, but these errors were encountered: