Method argument names
Hi Having a method: def method(self,x,y): is it possible to discover, from outside the method, that the methods arguments are ['self', 'x', 'y']? Thanks. /Martin -- http://mail.python.org/mailman/listinfo/python-list
Re: Method argument names
[EMAIL PROTECTED] wrote: Hi Having a method: def method(self,x,y): is it possible to discover, from outside the method, that the methods arguments are ['self', 'x', 'y']? import inspect help(inspect.getargspec) HTH -- bruno desthuilliers python -c print '@'.join(['.'.join([w[::-1]