[issue10438] list an example for calling static methods from WITHIN classes

Raymond Hettinger report at bugs.python.org
Sat Jul 8 23:13:57 EDT 2017


Raymond Hettinger added the comment:

I also don't think this is worth it.  The extra wording will likely cause more confusion that it clears up.

Also, calling a staticmethod from within a class isn't a common thing to do.  The principal use case for Python's static methods is to attach a function to a class for the sole purpose of making it findable by someone using that class.

----------
nosy: +rhettinger
status: pending -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10438>
_______________________________________


More information about the Python-bugs-list mailing list