]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport gvanrossum's patch:
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:18:56 +0000 (05:18 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:18:56 +0000 (05:18 +0000)
commitf908d0a876988fb6d590b2134856078fb27a85d9
tree252fbf34aa6a0e483c91fb4ca1846ce218aa0c4e
parent22115b7ef0f7bc81f4c2f09bf002c881be3fb01b
backport gvanrossum's patch:

Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.

Original patches were:
python/dist/src/Lib/test/string_tests.py:1.12
Lib/test/string_tests.py