cpython/Doc/whatsnew
Victor Stinner 507a574de3
bpo-43682: @staticmethod inherits attributes (GH-25268)
Static methods (@staticmethod) and class methods (@classmethod) now
inherit the method attributes (__module__, __name__, __qualname__,
__doc__, __annotations__) and have a new __wrapped__ attribute.

Changes:

* Add a repr() method to staticmethod and classmethod types.
* Add tests on the @classmethod decorator.
2021-04-09 17:51:22 +02:00
..
2.0.rst
2.1.rst
2.2.rst
2.3.rst
2.4.rst
2.5.rst
2.6.rst
2.7.rst bpo-38600: NULL -> ``NULL``. (GH-17001) 2019-10-30 21:37:16 +02:00
3.0.rst
3.1.rst
3.2.rst Revert "Fix all Python Cookbook links (#22205)" (GH-22424) 2020-09-27 01:47:25 +01:00
3.3.rst bpo-40204, doc: Fix syntax of C variables (GH-21846) 2020-08-13 22:11:50 +02:00
3.4.rst bpo-38600: NULL -> ``NULL``. (GH-17001) 2019-10-30 21:37:16 +02:00
3.5.rst bpo-40204: Fix reference to terms in the doc (GH-21865) 2020-08-14 12:20:05 +02:00
3.6.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
3.7.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
3.8.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
3.9.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
3.10.rst bpo-43682: @staticmethod inherits attributes (GH-25268) 2021-04-09 17:51:22 +02:00
changelog.rst
index.rst Python 3.10.0a0 (GH-20198) 2020-05-19 03:33:01 +01:00