commit | 068325ef926538a30d7feb13f9b14a6163e24b6e | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Mon Apr 15 13:36:47 2002 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Mon Apr 15 13:36:47 2002 +0000 |
tree | c2eef78d030be1ce7a56b56420ba13a853aab57d | |
parent | b384c7263928cc2d8dd16cac8537839673cd4982 [diff] |
Apply the second version of SF patch http://www.python.org/sf/536241 Add a method zfill to str, unicode and UserString and change Lib/string.py accordingly. This activates the zfill version in unicodeobject.c that was commented out and implements the same in stringobject.c. It also adds the test for unicode support in Lib/string.py back in and uses repr() instead() of str() (as it was before Lib/string.py 1.62)