When I call
help(Mod.Cls.f)
(Mod is a C extension module), I get the output
Help on method_descriptor: f(...) doc_string
What do I need to do so that the help output is of the form
Help on method f in module Mod: f(x, y, z) doc_string
like it is for random.Random.shuffle, for example?
My PyMethodDef entry is currently:
{ "f", f, METH_VARARGS, "doc_string" }