On Thu, 4 Sep 2025 19:28:53 -0000 (UTC), Pierre Asselin wrote:
Now that's *seriously* not-in-the-manual. I won't rely on that
behavior, plus the expanded documentation is a bit too much,
but I'm curious as how that interaction between staticmethod()
and help()/pydoc came about.
Note that the help for Inner1 is listed in the section of the help for
Outer headed “Static methods defined here:”. So all that’s happening is that the help() function is looking for class members that have been put through staticmethod(), whatever their type is, and I think recursively putting them through their own help() calls.
--- MBSE BBS v1.1.2 (Linux-x86_64)
* Origin: A noiseless patient Spider (3:633/280.2@fidonet)