member fns w/o args?

Jeff Epler jepler at unpythonic.net
Fri Jul 9 13:36:40 EDT 2004


fn2 is pretty useless.  You could call it as something like
c.__dict__['fn2']() if you really wanted to, though.

Maybe you're trying to find a way to ask about "staticmethod" and
"classmethod", but didn't know the right terms?

http://docs.python.org/lib/built-in-funcs.html#l2h-14
http://docs.python.org/lib/built-in-funcs.html#l2h-63

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040709/56d96e6d/attachment.sig>


More information about the Python-list mailing list