summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-07-07 13:20:49 (GMT)
committerGitHub <noreply@github.com>2021-07-07 13:20:49 (GMT)
commit8363c53369a582ff9ae4e797a80cdce12624a278 (patch)
treea51072b474d86c51c26942fcbdf5cf259bc33f71 /Doc/reference
parent2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f (diff)
downloadcpython-8363c53369a582ff9ae4e797a80cdce12624a278.zip
cpython-8363c53369a582ff9ae4e797a80cdce12624a278.tar.gz
cpython-8363c53369a582ff9ae4e797a80cdce12624a278.tar.bz2
bpo-44530: Document the new CodeObject.co_qualname attribute (GH-27052)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 2f8ed70..b6dae81 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -969,8 +969,10 @@ Internal types
single: co_varnames (code object attribute)
single: co_cellvars (code object attribute)
single: co_freevars (code object attribute)
+ single: co_qualname (code object attribute)
Special read-only attributes: :attr:`co_name` gives the function name;
+ :attr:`co_qualname` gives the fully qualified function name;
:attr:`co_argcount` is the total number of positional arguments
(including positional-only arguments and arguments with default values);
:attr:`co_posonlyargcount` is the number of positional-only arguments