mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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:
parent
7f43da7d61
commit
ab3a2504b9
6 changed files with 56 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue