How to bound a method to a instance ?
Josiah Carlson
jcarlson at nospam.uci.edu
Wed Feb 11 15:27:33 EST 2004
> def shrink_totos():
> totos = []
> for t in weakref.totos:
> if t(): totos.append(t)
> weakref.totos=[]
^^ should be totos
- Josiah
More information about the Python-list
mailing list