pydoc, best practices, and Data class

2005-08-27 Thread nathan_kent_bullock
I have a python program that I am trying to generate documentation for. But in one of my files I have a class called "Data", when pydoc gets to this class it just barfs. Well more specifically it generates documentation for only that one class in the file, it ignores the rest of the classes, plus i

Retrieving modification time of file class was declared in

2005-01-24 Thread nathan_kent_bullock
Assume I am using a class Foo. I want to find out the modification time of the file that that class was defined in. How would I go about this? If I could find out the name of the file that Foo was defined in then it is easy, I could use os.path.getmtime(), but I can't even figure that out. I real