objectA = Decorator()
> objectB = Decorated()
> assert objectA.oldFunction() == objectB.oldFunction() # No error
>
Is it possible (without inheritance)?
--
Evan Kroske
http://welcome2obscurity.blogspot.com/
The code, comments, and challenges of a novice
software developer desperate for attention.
--
http://mail.python.org/mailman/listinfo/python-list
ent.
I don't have a recommendation; that's the only Python book I own.
--
Evan Kroske
Welcome2Obscurity.Blogspot.com <http://welcome2obscurity.blogspot.com>
Glory is fleeting, but obscurity is forever. — some French guy
--
http://mail.python.org/mailman/listinfo/python-list
-long list:
key = string.split()[:1]
Success!
Finally, the operation works perfectly if I initialize the list beforehand:
list = string.split()
key = list[0]
Success!
Why does this happen?
-- |
Evan Kroske
Welcome2Obscurity.Blogspot.com <http://welcome2obscurity.blogspot.com>
Glory is fleetin
ogspot.com/2009/05/jaunty-jackalope-released-vista-all.html).
Best regards,
Evan Kroske
Undecided Python Student
--
http://mail.python.org/mailman/listinfo/python-list
have much experience with Linux and
the terminal. I'm using Intrepid Ibex 64 bit on a PC. Attached is a zip file
containing the output of ./configure and make. If you need any more info,
just tell me how to get it for you. Thanks for helping.
Best regards,
Evan Kroske
--
http://mail.python.org/mailman/listinfo/python-list
but if you're going to have more than one question about PyGame,
it would be a good idea to join the official PyGame mailing list.
Regards,
Evan Kroske
--
http://mail.python.org/mailman/listinfo/python-list