Ignore:
Timestamp:
Dec 26, 2018, 8:00:40 PM (6 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Remove positional argument specifiers for `format`

In strings for `format` calls, remove the digits for positional
arguments. For example, "{0}, {1}" becomes "{}, {}".
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/version.py

    r1713 r1723  
    1818
    1919
    20 version_info = "ftputil {0}, Python {1} ({2})".format(
     20version_info = "ftputil {}, Python {} ({})".format(
    2121                 _ftputil_version, _python_version, _python_platform)
Note: See TracChangeset for help on using the changeset viewer.