[docs] [issue31567] Inconsistent documentation around decorators

Berker Peksag report at bugs.python.org
Thu Oct 12 10:48:33 EDT 2017

Berker Peksag <berker.peksag at gmail.com> added the comment:

Use of classmethod and staticmethod decorators as functions is still a valid use case. I think the old signatures should be kept. It should be possible to document both uses in same place:

    .. function:: classmethod(function)
    .. decorator:: classmethod

       Documentation body.

nosy: +berker.peksag

Python tracker <report at bugs.python.org>

More information about the docs mailing list