[Python-bugs-list] [ python-Bugs-656049 ] string.trim does not have 2 arguments

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Dec 2002 16:14:11 -0800


Bugs item #656049, was opened at 2002-12-18 15:14
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=656049&group_id=5470

Category: Documentation
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Sowka (msowka)
Assigned to: Nobody/Anonymous (nobody)
Summary: string.trim does not have 2 arguments

Initial Comment:
2.2.2 python documentation lists string.trim having two
arguements:

strip(s[, chars])
    Return a copy of the string with leading and
trailing characters removed. If chars is omitted or
None, whitespace characters are removed. If given and
not None, chars must be a string; the characters in the
string will be stripped from the both ends of the
string this method is called on.

On my RedHat 8.0 version of python (2.2.1) string.strip
is only available with one argument, and I was able to
confirm with others running 2.2.2 that it acutally only
has 1. no 'chars' argument.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=656049&group_id=5470