]> granicus.if.org Git - python/commit
Cleanup PyUnicode_FromFormatV() for zero padding
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 6 Oct 2012 21:55:33 +0000 (23:55 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 6 Oct 2012 21:55:33 +0000 (23:55 +0200)
commit4c63a972d194459ac17994d7f6d0be012880d740
treeb08f323fa8101ce0bc0830243a3244f4401b0936
parent15a1136547d1d5c4d5323f3213f5fa36f17d7e9d
Cleanup PyUnicode_FromFormatV() for zero padding

Skip the "0" instead of parsing it twice: detect zero padding and then parsed
as a digit of the width.
Objects/unicodeobject.c