Ignore:
Timestamp:
Aug 5, 2013, 6:33:25 AM (6 years ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Changed class name `BufferedReaderWriter` to `BufferedIO`.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/file.py

    r1347 r1349  
    2020
    2121
    22 class BufferedReaderWriter(io.BufferedIOBase):
     22class BufferedIO(io.BufferedIOBase):
    2323    """
    2424    Adapt a file object returned from `socket.makefile` to the
     
    186186        if ftputil.compat.python_version == 2:
    187187            if is_read_mode:
    188                 fobj = BufferedReaderWriter(fobj, is_readable=True)
     188                fobj = BufferedIO(fobj, is_readable=True)
    189189            else:
    190                 fobj = BufferedReaderWriter(fobj, is_writable=True)
     190                fobj = BufferedIO(fobj, is_writable=True)
    191191        if not is_bin_mode:
    192192            fobj = io.TextIOWrapper(fobj, encoding=encoding,
Note: See TracChangeset for help on using the changeset viewer.