Changeset 1893:2c759f11ddd2


Ignore:
Timestamp:
Jan 1, 2020, 10:29:43 PM (3 weeks ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Add comment on different API from `shutil`
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/host.py

    r1892 r1893  
    451451    # like upload and download
    452452    #
     453    # XXX: This has a different API from `shutil.copyfileobj`, on which this
     454    # method is modeled. But I don't think it makes sense to change this method
     455    # here because the method is probably rarely used and a change would break
     456    # client code.
    453457    @staticmethod
    454458    def copyfileobj(
Note: See TracChangeset for help on using the changeset viewer.