diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2022-05-06 07:57:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 07:57:53 (GMT) |
commit | ebaf0945f9f630f32755137a54abd0a49f068e9a (patch) | |
tree | ec1da2c8721f17b58d1f161b911ea9223275dec7 /Doc/library | |
parent | bebb944de56883e886891b9786351ad36240d989 (diff) | |
download | cpython-ebaf0945f9f630f32755137a54abd0a49f068e9a.zip cpython-ebaf0945f9f630f32755137a54abd0a49f068e9a.tar.gz cpython-ebaf0945f9f630f32755137a54abd0a49f068e9a.tar.bz2 |
GH-89519: Deprecate classmethod descriptor chaining (#92379)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/functions.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index cb86296..47b4b11 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -271,6 +271,11 @@ are always available. They are listed here in alphabetical order. ``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and have a new ``__wrapped__`` attribute. + .. versionchanged:: 3.11 + Class methods can no longer wrap other :term:`descriptors <descriptor>` such as + :func:`property`. + + .. function:: compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1) Compile the *source* into a code or AST object. Code objects can be executed |