New submission from Jesse SHapiro <je...@jesseshapiro.net>: It looks like the original staticmethod docstring might have been based on the classmethod docstring, and it seems like the current description might not be accurate.
Current string: ...It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()); the instance is ignored except for its class... Proposed change: It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). Both the class and the instance are ignored, and neither is passed implicitly as the first argument to the method. ---------- assignee: docs@python components: Documentation messages: 306489 nosy: docs@python, haikuginger priority: normal pull_requests: 4391 severity: normal status: open title: Clarify the behavior of the staticmethod builtin type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32070> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com