Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25000
| From | Frank Millman <frank@chagford.com> |
|---|---|
| Subject | Re: Question about weakref |
| Date | 2012-07-07 07:41 +0200 |
| References | (4 earlier) <jt62f2$t89$1@dough.gmane.org> <CALwzidmAZavM-R1UXE_Qb-6vmk-518fZ-vJGd2GEHbTROAn2Vg@mail.gmail.com> <CALwzidksHx35Rte=StR-MyTjv79XseK2E+K4H0V5DYxo86W5pQ@mail.gmail.com> <CALwzidmVx++oRRuGor2YQLgosu3nCYshDTc2uePwKw9HaZ2KOQ@mail.gmail.com> <4FF72AA3.3070808@stoneleaf.us> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1881.1341639709.4697.python-list@python.org> (permalink) |
On 06/07/2012 20:12, Ethan Furman wrote: > 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. I second that. Thanks very much, Ian. Frank
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Question about weakref Frank Millman <frank@chagford.com> - 2012-07-07 07:41 +0200
csiph-web