[Tutor] iteritems() vs items()

Liam Clarke-Hutchinson Liam.Clarke-Hutchinson at business.govt.nz
Sun Nov 13 22:36:48 CET 2005


Someone correct me if I'm wrong, but I believe there is no specific iterator
object, but rather objects that have a method for __iter___...

Liam Clarke-Hutchinson

-----Original Message-----
From: tutor-bounces+ml.cyresse=gmail.com at python.org
[mailto:tutor-bounces+ml.cyresse=gmail.com at python.org] On Behalf Of Tim
Johnson
Sent: Monday, 14 November 2005 10:37 a.m.
To: tutor at python.org
Subject: Re: [Tutor] iteritems() vs items()


* Kent Johnson <kent37 at tds.net> [051113 12:04]:
> Tim Johnson wrote:
> >   Question: Can one subclass an iterator object?
> >   thanks for making this a little clearer.
> 
> Most *classes* can be subclassed. What do you have in mind?
 
  Oh, I'm just playing right now .... but what is the
  iterator object class name?
  thnx
  tj
  
> --
> http://www.kentsjohnson.com
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org 
> http://mail.python.org/mailman/listinfo/tutor

-- 
Tim Johnson <tim at johnsons-web.com>
      http://www.alaska-internet-solutions.com
_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor

A new monthly electronic newsletter covering all aspects of MED's work is now available.  Subscribers can choose to receive news from any or all of seven categories, free of charge: Growth and Innovation, Strategic Directions, Energy and Resources, Business News, ICT, Consumer Issues and Tourism.  See http://news.business.govt.nz for more details.




http://www.govt.nz - connecting you to New Zealand central & local government services

Any opinions expressed in this message are not necessarily those of the Ministry of Economic Development. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivery to the intended recipient, be advised that you have received this message in error and that any use is strictly prohibited. Please contact the sender and delete the message and any attachment from your computer.


More information about the Tutor mailing list