A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-November/030794.html below:

[Python-checkins] python/dist/src/Lib string.py,1.60.16.3,1.60.16.4

[Python-checkins] python/dist/src/Lib string.py,1.60.16.3,1.60.16.4nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Wed, 13 Nov 2002 19:32:10 -0800
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