Attaching functions to objects as methods
tac-tics
tactics40 at gmail.com
Fri Jul 7 21:01:04 EDT 2006
Previous message (by thread):
IRC questions!! (off topic)
Next message (by thread):
Attaching functions to objects as methods
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Experimenting, I found that >>>
x.fun = lambda: fun(x)
works as well. Any comments on this way?
Previous message (by thread):
IRC questions!! (off topic)
Next message (by thread):
Attaching functions to objects as methods
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list