Update of /cvsroot/python/python/dist/src/Lib In directory usw-pr-cvs1:/tmp/cvs-serv28637/Lib Modified Files: string.py Log Message: Update the docstring to match the code. Will backport. Index: string.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -d -r1.66 -r1.67 *** string.py 8 Nov 2002 12:09:59 -0000 1.66 --- string.py 14 Nov 2002 03:31:32 -0000 1.67 *************** *** 76,83 **** # 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. """ --- 76,85 ---- # 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