[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>
<https://bugs.python.org/issue31567>
_______________________________________


More information about the docs mailing list