Comment on PEP-0322: Reverse Iteration Methods

Raymond Hettinger vze4rx4y at
Thu Sep 25 20:38:17 CEST 2003

"sebastien" <s.keim at> wrote in message
> So, I'd expect to have a riter() function which would call the
> __riter__ special method.
. . .
> And I still think you don't need it often enough to put it in the
> builtin namespace, so the function should go in the itertools module.

If you make a magic method, then the function calling it
needs to be a builtin.  They go hand in hand.


More information about the Python-list mailing list