LangWart: Method congestion from mutate multiplicty

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Feb 10 19:11:17 EST 2013


Rick Johnson wrote:

> we can get the iterator for free. If however you want to control the
> iteration /without/ being locked into a loop, you can explicitly call:
> 
> py> iter(seq)

> Or, if python employed /true/ OOP paradigm:
> 
> py> Iterator(seq)

Today I learned that the difference between "true" OOP and everything else
is the presence of an initial capital letter.

Thank you Rick for your deep insight.


-- 
Steven




More information about the Python-list mailing list