Luis N wrote:
> Is there a way to introspect a function or class' required arguments,
> particularly keyword arguments?

See inspect.getargspec() and formatargspec().
Look at the source if you want details of where the info is stored.

> I can easily use a dictionary since it is my own function that I wish
> to introspect. I haven't tested the below code yet, but e.g.

I don't understand what you are trying to do here.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to