• Guido van Rossum's avatar
    Fix bug discovered by John W. Shipman -- when the width of a format · 98c9eba9
    Guido van Rossum yazdı
    specifier came from an int expression instead of a constant in the
    format, a negative width was truncated to zero instead of taken to
    mean the same as that negative constant plugged into the format.  E.g.
    "(%*s)" % (-5, "foo") yielded "(foo)" while "(%-5s)" yields "(foo  )".
    Now both yield the latter -- like sprintf() in C.
    98c9eba9
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...