diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-03-27 16:59:38 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-03-27 16:59:38 (GMT) |
commit | 3ae0f7a7cf8c7555a654542811509d4c17b49497 (patch) | |
tree | d2b36e1ddc839caf268a549611c5b94e25907880 /Doc/lib/libimaplib.tex | |
parent | 0e85e7a636ca3b9456b1be6d04df5b00f397abac (diff) | |
download | cpython-3ae0f7a7cf8c7555a654542811509d4c17b49497.zip cpython-3ae0f7a7cf8c7555a654542811509d4c17b49497.tar.gz cpython-3ae0f7a7cf8c7555a654542811509d4c17b49497.tar.bz2 |
Replace criterium with criterion. Fixes #705120.
Diffstat (limited to 'Doc/lib/libimaplib.tex')
-rw-r--r-- | Doc/lib/libimaplib.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libimaplib.tex b/Doc/lib/libimaplib.tex index dba9692..27e493b 100644 --- a/Doc/lib/libimaplib.tex +++ b/Doc/lib/libimaplib.tex @@ -274,12 +274,12 @@ An \class{IMAP4} instance has the following methods: \code{None}. Returns the given code, instead of the usual type. \end{methoddesc} -\begin{methoddesc}{search}{charset, criterium\optional{, ...}} +\begin{methoddesc}{search}{charset, criterion\optional{, ...}} Search mailbox for matching messages. Returned data contains a space separated list of matching message numbers. \var{charset} may be \code{None}, in which case no \samp{CHARSET} will be specified in the request to the server. The IMAP protocol requires that at least one - criterium be specified; an exception will be raised when the server + criterion be specified; an exception will be raised when the server returns an error. Example: @@ -325,12 +325,12 @@ msgnums = M.search(None, '(FROM "LDJ")') Returns socket instance used to connect to server. \end{methoddesc} -\begin{methoddesc}{sort}{sort_criteria, charset, search_criterium\optional{, ...}} +\begin{methoddesc}{sort}{sort_criteria, charset, search_criterion\optional{, ...}} The \code{sort} command is a variant of \code{search} with sorting semantics for the results. Returned data contains a space separated list of matching message numbers. - Sort has two arguments before the \var{search_criterium} + Sort has two arguments before the \var{search_criterion} argument(s); a parenthesized list of \var{sort_criteria}, and the searching \var{charset}. Note that unlike \code{search}, the searching \var{charset} argument is mandatory. There is also a \code{uid sort} command which corresponds to \code{sort} the way |