3 ms·
No, % formatting was never deprecated. The Python 3.0 release notes [1] said "The plan is to eventually make this [the .format() method] the only API for string
by Thrymr 13y ago
No, % formatting was never deprecated. The Python 3.0 release notes [1] said "The plan is to eventually make this [the .format() method] the only API for string formatting, and to start deprecating the % operator in Python 3.1" but it never happened.
[1] http://docs.python.org/3.0/whatsnew/3.0.html http://docs.python.org/3.0/whatsnew/3.0.html