summaryrefslogtreecommitdiffstats
path: root/Doc/library/types.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-12-15 12:13:41 (GMT)
committerGitHub <noreply@github.com>2017-12-15 12:13:41 (GMT)
commit3327a2ddf1eaf8cc678f0219ba9edf7d632d1b20 (patch)
treed5913c7f893cc889b6a0b10142a66a01c709ac74 /Doc/library/types.rst
parent2e3f5701858d1fc04caedefdd9a8ea43810270d2 (diff)
downloadcpython-3327a2ddf1eaf8cc678f0219ba9edf7d632d1b20.zip
cpython-3327a2ddf1eaf8cc678f0219ba9edf7d632d1b20.tar.gz
cpython-3327a2ddf1eaf8cc678f0219ba9edf7d632d1b20.tar.bz2
bpo-32265: Classify class and static methods of builtin types. (#4776)
Add types.ClassMethodDescriptorType for unbound class methods.
Diffstat (limited to 'Doc/library/types.rst')
-rw-r--r--Doc/library/types.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 89aca9c..bbc1d13 100644
--- a/Doc/library/types.rst
+++ b/Doc/library/types.rst
@@ -155,6 +155,14 @@ Standard names are defined for the following types:
.. versionadded:: 3.7
+.. data:: ClassMethodDescriptorType
+
+ The type of *unbound* class methods of some built-in data types such as
+ ``dict.__dict__['fromkeys']``.
+
+ .. versionadded:: 3.7
+
+
.. class:: ModuleType(name, doc=None)
The type of :term:`modules <module>`. Constructor takes the name of the