[Tutor] inspect

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


Shortly after I posted, I had the idea of looking at inspect.py =)
Sorry folks, I have the answer now...

Andrew

> -----Original Message-----
> From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
> Andrew Wilkins
> Sent: Sunday, 20 May 2001 2:10 PM
> To: tutor@python.org
> Subject: [Tutor] inspect
>
>
> 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
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>