* Liam Clarke-Hutchinson <[EMAIL PROTECTED]> [051113 12:41]:
> 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___...
 
  Some light is slowly dawning here (I think) .... from 
  http://docs.python.org/ref/yield.html

  It appears that a generator, is an object, but
  not derived from a class, but from a generator function,
  using yield.

> Liam Clarke-Hutchinson
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tim
> Johnson
> Sent: Monday, 14 November 2005 10:37 a.m.
> To: tutor@python.org
> Subject: Re: [Tutor] iteritems() vs items()
> 
> 
> * Kent Johnson <[EMAIL PROTECTED]> [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@python.org 
> > http://mail.python.org/mailman/listinfo/tutor
> 
> -- 
> Tim Johnson <[EMAIL PROTECTED]>
>       http://www.alaska-internet-solutions.com
> _______________________________________________
> Tutor maillist  -  Tutor@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.
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 
Tim Johnson <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to