diff options
author | Raymond Hettinger <python@rcn.com> | 2003-11-26 08:21:35 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-11-26 08:21:35 (GMT) |
commit | 4f8f9765766a126ebfff3c81655454821f1ad532 (patch) | |
tree | 90f6c08e42a551b8bb461d191afddaef5e4f0cf4 /Misc/NEWS | |
parent | bd93b3ea8fd87742dd56c9c1ff514223892e0d4a (diff) | |
download | cpython-4f8f9765766a126ebfff3c81655454821f1ad532.zip cpython-4f8f9765766a126ebfff3c81655454821f1ad532.tar.gz cpython-4f8f9765766a126ebfff3c81655454821f1ad532.tar.bz2 |
Add optional fillchar argument to ljust(), rjust(), and center() string methods.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.4 alpha 1? Core and builtins ----------------- +- For str and unicode objects, the ljust(), center(), and rjust() + methods now accept an optional argument specifying a fill + character other than a space. + - When method objects have an attribute that can be satisfied either by the function object or by the method object, the function object's attribute usually wins. Christian Tismer pointed out that |