From 0d800ca9159fda0031e547d303bfce8af8d02984 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 16 Nov 2002 00:45:14 +0000 Subject: Note that str.zfill() and the optional argument to str.strip(), .lstrip(), and .rstrip() were all added in 2.2.2. ;-( Closes SF bug #639170. --- Doc/lib/libstdtypes.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 2bec44c..2b3685a 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -623,6 +623,7 @@ Return a copy of the string with leading characters removed. If removed. If given and not \code{None}, \var{chars} must be a string; the characters in the string will be stripped from the beginning of the string this method is called on. +\versionchanged[Support for the \var{chars} argument]{2.2.2} \end{methoddesc} \begin{methoddesc}[string]{replace}{old, new\optional{, maxsplit}} @@ -656,6 +657,7 @@ Return a copy of the string with trailing characters removed. If removed. If given and not \code{None}, \var{chars} must be a string; the characters in the string will be stripped from the end of the string this method is called on. +\versionchanged[Support for the \var{chars} argument]{2.2.2} \end{methoddesc} \begin{methoddesc}[string]{split}{\optional{sep \optional{,maxsplit}}} @@ -685,6 +687,7 @@ removed. If \var{chars} is omitted or \code{None}, whitespace characters are removed. If given and not \code{None}, \var{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. +\versionchanged[Support for the \var{chars} argument]{2.2.2} \end{methoddesc} \begin{methoddesc}[string]{swapcase}{} @@ -712,6 +715,7 @@ Return a copy of the string converted to uppercase. Return the numeric string left filled with zeros in a string of length \var{width}. The original string is returned if \var{width} is less than \code{len(\var{s})}. +\versionadded{2.2.2} \end{methoddesc} -- cgit v0.12