libsocket.tex: send[to] returns nbytes.

libstring.tex: added count().
ref2.tex: new keywords; moved keyword printing program to keywords.py.
This commit is contained in:
Guido van Rossum 1994-08-01 12:18:36 +00:00
parent 7f43da7d61
commit ab3a2504b9
6 changed files with 56 additions and 4 deletions

View file

@ -130,6 +130,12 @@ Like \code{rfind} but raise \code{index_error} when the substring is
not found.
\end{funcdesc}
\begin{funcdesc}{count}{s\, sub\, i}
Return the number of (non-overlapping) occurrences of substring
\var{sub} in string \var{s} with index at least \var{i}.
If \var{i} is omitted, it defaults to \code{0}.
\end{funcdesc}
\begin{funcdesc}{lower}{s}
Convert letters to lower case.
\end{funcdesc}