I am testing a somewhat large module, and I would like to automate the testing of the documentation (I know, I could just look at the code, but I wanted to make sure *and* the question became a cool one :cheesy:)
Here's the basic idea:
for i in dir(MyClass): if not i.startswith("__"): help(MyClass.i)
which code fails because i is not a member function of MyClass! :p What's the right way to do this?