Question about weakref

Ethan Furman ethan at stoneleaf.us
Fri Jul 6 20:12:51 CEST 2012


Ian Kelly wrote:
>     def del_b(self, b):
>         for i, x in enumerate(self.array):
>             if b is x:
>                 del self.array[i]
>                 break

Nice work, Ian.



More information about the Python-list mailing list