Changeset 1891:42ece407f2fe


Ignore:
Timestamp:
Jan 1, 2020, 10:19:32 PM (3 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Remove `FTPFile.next` method

This was only needed for Python 2.x.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/file.py

    r1857 r1891  
    111111            raise StopIteration
    112112
    113     # Although Python 2.6+ has the `next` builtin function already, it
    114     # still requires iterators to have a `next` method.
    115     next = __next__
    116 
    117113    #
    118114    # Context manager methods
Note: See TracChangeset for help on using the changeset viewer.