Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24982 > unrolled thread

Re: Question about weakref

Started byEthan Furman <ethan@stoneleaf.us>
First post2012-07-06 11:12 -0700
Last post2012-07-06 11:12 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question about weakref Ethan Furman <ethan@stoneleaf.us> - 2012-07-06 11:12 -0700

#24982 — Re: Question about weakref

FromEthan Furman <ethan@stoneleaf.us>
Date2012-07-06 11:12 -0700
SubjectRe: Question about weakref
Message-ID<mailman.1868.1341598575.4697.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web