Code Review #5945

Iterating member of class

Added by fanioz almost 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2013-06-14
Priority:NormalDue date:2013-06-22
Assignee:fanioz% Done:


Target version:-


Watch for every looping :

foreach (idx, val in this) {

Make sure to only get what do you want to get. (i.e data only, not the function)


#1 Updated by fanioz almost 7 years ago

  • Due date set to 2013-06-22
  • Status changed from New to Closed
  • Assignee set to fanioz
  • % Done changed from 0 to 100

It should be safe, since we are iterating the instance instead of the class it self.
using "foreach" would call the "_nexti" function on AIList, and we should only got those AIList Items

Also available in: Atom PDF