[Tutor] inspect

Andrew Wilkins toodles@yifan.net
Sun, 20 May 2001 14:09:37 +0800


Hi,

I'm making a module to take a class and convert it to an XML representation.
I've been fiddling with the inspect module from Python 2.1, and more
specifically, at the getargspec function, which returns the arguments to be
used with a given function. What I want to know, is whether there is some
way of doing this with a method object.

TIA,
Andrew Wilkins