Changeset 1878:33aa9270f45d


Ignore:
Timestamp:
Jan 1, 2020, 6:11:46 PM (3 weeks ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Document `TypeError` for invalid argument
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/tool.py

    r1877 r1878  
    3535    `LOSSLESS_ENCODING` above to encode or decode, whatever operation
    3636    is needed.
     37
     38    If the `path` can't be converted to a `bytes` or `str`, a `TypeError`
     39    is raised.
    3740    """
    3841    actual_type_source = os.fspath(type_source)
Note: See TracChangeset for help on using the changeset viewer.