[docs] [issue31567] Inconsistent documentation around decorators

Berker Peksag report at bugs.python.org
Thu Oct 12 11:46:54 EDT 2017

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

> That said, staticmethod as a non-decorator has an important use case for
> function injection in tests (using self.func in TestCase classes that work with
> a C module and an equivalent Python version).  Maybe this deserves an extra
> example?

Yes, that would be nice.


Python tracker <report at bugs.python.org>

More information about the docs mailing list