Ignore:
Timestamp:
Apr 15, 2013, 2:32:29 AM (6 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Be more precise in comment (`next` method still needed in Python 2.6).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/file.py

    r1224 r1228  
    173173            raise StopIteration
    174174
    175     # For Python 2 compatibility
     175    # Although Python 2.6+ has the `next` builtin function already, it
     176    # still requires iterators to have a `next` method.
    176177    next = __next__
    177178
Note: See TracChangeset for help on using the changeset viewer.