[EMAIL PROTECTED] wrote:
otplease stop top-posting, it's getting very annoying/ot
ya know, I've searched for these new classes at least five times.
Then go and buy yourself a pair of glasses. It's one of the entrie in
the documentation menu of python.org.
--
bruno desthuilliers
python -c
THANK YOU!
Now I can actually worry about the advantages/disadvantages!
--
http://mail.python.org/mailman/listinfo/python-list
I'm getting rather inconsistent behavior with staticmethod.
@staticmethod has the same problems, but I'm demonstrating it with
staticmethod() because it shows things more clearly
---
class A:
def orig():
print hi
st =
[EMAIL PROTECTED] wrote:
I'm getting rather inconsistent behavior with staticmethod.
Not really.
class A:
def orig():
print hi
st = staticmethod(orig)
st2 = st
wrapped = [ orig ]
wrapped2 = [ st ]
...
A.wrapped[0]() # ODD - wrapping orig() in
ya know, I've searched for these new classes at least five times.
I've heard all the wonderful things about how they make your life into
a piece of chocolate with rainbows sprinkled in it. Never once have I
found a site that explains what syntax to use to make these new
classes.
Anyone have a
[EMAIL PROTECTED] schrieb:
ya know, I've searched for these new classes at least five times.
I've heard all the wonderful things about how they make your life into
a piece of chocolate with rainbows sprinkled in it. Never once have I
found a site that explains what syntax to use to make these
[EMAIL PROTECTED] wrote:
ya know, I've searched for these new classes at least five times.
I've heard all the wonderful things about how they make your life into
a piece of chocolate with rainbows sprinkled in it. Never once have I
found a site that explains what syntax to use to make these