Changeset 1723:7d731aea5360 for setup.py


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
  • setup.py

    r1713 r1723  
    5656  download_url=
    5757    "http://ftputil.sschwarzer.net/trac/attachment/wiki/Download/"
    58     "{0}-{1}.tar.gz?format=raw".format(_name, _version),
     58    "{}-{}.tar.gz?format=raw".format(_name, _version),
    5959  classifiers=[
    6060    "Development Status :: 5 - Production/Stable",
Note: See TracChangeset for help on using the changeset viewer.