printing class methods

Joshua Muskovitz joshm at taconic.net
Fri Jan 25 00:23:06 EST 2002


"Joe Connellan" <joe at al.com.au> wrote in message
news:3C50CE7F.DFAEE4EC at al.com.au...
> Is there a way to find out the number and type of arguments?


Type?  Python is dynamically typed!  (Think of it this way -- you didn't
specify the types when you *declared* the methods, did you?)

As for the number of arguments, I have no idea.  :-)

--
# Joshua Muskovitz
# joshm at taconic.net
def lyyrs(sig): return '-'.join(sig.split()+["ly y'rs"])
lyyrs('Hire me!  I need the work!')




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list