Changes between Version 1 and Version 2 of Ticket #18802


Ignore:
Timestamp:
Jun 28, 2015, 4:29:40 PM (8 years ago)
Author:
wluebbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18802 – Description

    v1 v2  
    44
    55Remark: To advance some iterator {{{it}}} in Py2 often this method is called directly {{{it.next()}}}.
    6 But since Python 2.6 there is the //builtin function// {{{next()}}} which is compatible between Py2 and Py3: in Py2 it calls the iterator method {{{{next()}}} while in Py3 it calls the special method {{{__next__()}}}.
     6But since Python 2.6 there is the //builtin function// {{{next()}}} which is compatible between Py2 and Py3: in Py2 it calls the iterator method {{{next()}}} while in Py3 it calls the special method {{{__next__()}}}.
    77Ticket #16075 addresses the (stage 1) conversion from {{{it.next()}}} to {{{next(it)}}}.
    88
    9 his ticket is tracked as a dependency of meta-ticket #16052.
     9This ticket is tracked as a dependency of meta-ticket #16052.