Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Question about weakref

Reply
Thread Tools

Re: Question about weakref

 
 
Frank Millman
Guest
Posts: n/a
 
      07-07-2012
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Question about weakref Frank Millman Python 0 07-06-2012 07:00 AM
Re: Question about weakref Dieter Maurer Python 0 07-05-2012 05:47 PM
Re: Question about weakref Frank Millman Python 0 07-05-2012 11:21 AM
Re: Question about weakref Dieter Maurer Python 0 07-05-2012 08:46 AM
Question about weakref Frank Millman Python 0 07-04-2012 01:46 PM



Advertisments