]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport gvanrossum's patch:
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:17:53 +0000 (05:17 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:17:53 +0000 (05:17 +0000)
commit22115b7ef0f7bc81f4c2f09bf002c881be3fb01b
treedac77fae32f48377ddf2880af73873677a5f922a
parent0bc13db82f076a5a92e8cb4b9c5f2fae34df78d5
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/UserString.py:1.11
Lib/UserString.py