View Single Post
Old Jun 8th, 2006, 11:40 PM   #10
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,086
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
Quote:
Originally Posted by titaniumdecoy
why do I have to confirm "name in namelist"?
Because one of the items may have already been removed by an earlier iteration of _i_. list().remove will raise an error that you could catch if you don't want to check for occurance in the list. The latter should be faster actually (but less understandable).
Sane is online now   Reply With Quote