Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 26261:205fbf1bd075 2.2
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.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 16 Nov 2002 00:45:14 +0000 |
| parents | 6ea9eef99108 |
| children | 0c85a947e2c0 |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Fri Nov 15 23:01:37 2002 +0000 +++ b/Doc/lib/libstdtypes.tex Sat Nov 16 00:45:14 2002 +0000 @@ -623,6 +623,7 @@ 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 @@ 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 @@ 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 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}
