summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2019-08-24 22:37:25 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-08-24 22:37:25 (GMT)
commit805f8f9afea116c5d4d000570e3d02ae84502f43 (patch)
treefcce9d4e198f5788b6cc5befc349c988d9c05c3c /Doc
parent0dfc025cccc5adf4f209e2421c7686b1e637eeae (diff)
downloadcpython-805f8f9afea116c5d4d000570e3d02ae84502f43.zip
cpython-805f8f9afea116c5d4d000570e3d02ae84502f43.tar.gz
cpython-805f8f9afea116c5d4d000570e3d02ae84502f43.tar.bz2
bpo-19072: Make @classmethod support chained decorators (GH-8405)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/functions.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index c225f3d..a7b6610 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -222,10 +222,12 @@ are always available. They are listed here in alphabetical order.
implied first argument.
Class methods are different than C++ or Java static methods. If you want those,
- see :func:`staticmethod`.
-
+ see :func:`staticmethod` in this section.
For more information on class methods, see :ref:`types`.
+ .. versionchanged:: 3.9
+ Class methods can now wrap other :term:`descriptors <descriptor>` such as
+ :func:`property`.
.. function:: compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1)