2 ms·
"Simpler" here is at least partly comparing to explicit calls to the .format method, which was added all the way back in 2.6. %-style interpolation supports ma
by zahlman 1y ago
"Simpler" here is at least partly comparing to explicit calls to the .format method, which was added all the way back in 2.6.
%-style interpolation supports many of these features, they just weren't as well known or discussed back then. The % style is also more complicated because of the weird edge cases (like trying to interpolate a single value which is a tuple).