#5255: [with patch, needs review] Deprecating the use of iterator in
CombinatorialClass
--------------------------------+-------------------------------------------
Reporter: hivert | Owner: mhansen
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: combinatorics | Resolution:
Keywords: __iter__, iterator |
--------------------------------+-------------------------------------------
Comment (by malb):
I think
{{{
it = C.__iter__() # indirect doctest
}}}
should be
{{{
it = iter(C) # indirect doctest
}}}
i.e. one should avoid calling {{{__foo__}}} functions directly.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5255#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---