This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author duncanb
Recipients
Date 2003-08-14.08:33:20
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=74031

Sorry, but I'm going to throw darts at this. You need to have 
glossary entries for both 'iterable' and 'iterator', and you're 
current definition of 'iterable' is actually the definition 
of 'iterator' not of 'iterable'.

Try something like this:

\index{iterable{
\item[iterable] Any object which supports enumeration of a 
set of values by calling its \method{__iter__} which returns 
an iterator over those values. Examples include \class{file},
\class{list} and \class{dict} objects.  In the case of \class
{dict} objects, iteration is over the keys in the object.

\index{iterator}
\item[iterator] An object which supports enumeration of a
set of values by calling its \method{next} method and which
contains an \method{__iter__} method which returns the
object itself.  Examples: \class{file} is a iterable which is its 
own iterator. \class{list} and \class{dict} are iterables which 
create iterators of types which are not otherwise visible.
History
Date User Action Args
2007-08-23 15:28:41adminlinkissue788509 messages
2007-08-23 15:28:41admincreate