No subject
Tue Oct 14 00:29:20 CEST 2008
<br>... return 0
<br>...
<br>>>> C.f
<br><unbound method C.f>
<br>>>> C.f = staticmethod(C.f)
<br>>>> C.f
<br><unbound method C.f>
<br>>>> C.f()
<br>Traceback (most recent call last):
<br> File "<stdin>", line 1, in ?
<br>TypeError: unbound method f() must be called with
C instance as first
argument (
<br>got nothing instead)
<p>What am I missing?
<p>Regards</html>
_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Cplusplus-sig
mailing list