Message4841
Given the following class hierarchy:
class A:
def foo(self):
"do the foo"
pass
class B(A):
def foo(self):
pass
class C(B):
def foo(self):
"do the foo in C"
pass
if you ask pydoc for help about A or C you will get the
corresponding doc string. If you ask for help about B,
however, you see no documentation. Would be kinda nice
if pydoc.help(B) displayed "do the foo" as the doc
string for B.foo.
|
|
Date |
User |
Action |
Args |
2007-08-23 13:54:35 | admin | link | issue426740 messages |
2007-08-23 13:54:35 | admin | create | |
|