summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-11-25 17:56:07 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-11-25 17:56:07 (GMT)
commit86a36b500a7f7581194382ce4df914e4bb487873 (patch)
tree0d83f90f9a14d40d3559ae188c203e9c8941c6db /Doc/reference
parent0e86a5842d0fadff37c299e8a1c03535c6727b19 (diff)
downloadcpython-86a36b500a7f7581194382ce4df914e4bb487873.zip
cpython-86a36b500a7f7581194382ce4df914e4bb487873.tar.gz
cpython-86a36b500a7f7581194382ce4df914e4bb487873.tar.bz2
PEP 3155 / issue #13448: Qualified name for classes and functions.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index a93c09a..55fd76b 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -448,6 +448,11 @@ Callable types
+-------------------------+-------------------------------+-----------+
| :attr:`__name__` | The function's name | Writable |
+-------------------------+-------------------------------+-----------+
+ | :attr:`__qualname__` | The function's | Writable |
+ | | :term:`qualified name` | |
+ | | | |
+ | | .. versionadded:: 3.3 | |
+ +-------------------------+-------------------------------+-----------+
| :attr:`__module__` | The name of the module the | Writable |
| | function was defined in, or | |
| | ``None`` if unavailable. | |