Update of /cvsroot/python/python/dist/src/Lib In directory usw-pr-cvs1:/tmp/cvs-serv28799/Lib Modified Files: Tag: release22-maint string.py Log Message: Update the docstring to match the code. Index: string.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v retrieving revision 1.60.16.3 retrieving revision 1.60.16.4 diff -C2 -d -r1.60.16.3 -r1.60.16.4 *** string.py 8 Nov 2002 12:11:03 -0000 1.60.16.3 --- string.py 14 Nov 2002 03:32:08 -0000 1.60.16.4 *************** *** 75,82 **** # Strip leading and trailing tabs and spaces def strip(s, chars=None): ! """strip(s) -> string Return a copy of the string s with leading and trailing whitespace removed. """ --- 75,84 ---- # Strip leading and trailing tabs and spaces def strip(s, chars=None): ! """strip(s [,chars]) -> string Return a copy of the string s with leading and trailing whitespace removed. + If chars is given and not None, remove characters in sep instead. + If chars is unicode, S will be converted to unicode before stripping. """
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4