Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
3ae0f7a7
Kaydet (Commit)
3ae0f7a7
authored
Mar 27, 2003
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace criterium with criterion. Fixes #705120.
üst
0e85e7a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
libimaplib.tex
Doc/lib/libimaplib.tex
+4
-4
imaplib.py
Lib/imaplib.py
+1
-1
No files found.
Doc/lib/libimaplib.tex
Dosyayı görüntüle @
3ae0f7a7
...
...
@@ -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, criteri
um
\optional
{
, ...
}}
\begin{methoddesc}
{
search
}{
charset, criteri
on
\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
criteri
um
be specified; an exception will be raised when the server
criteri
on
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
_
criteri
um
\optional
{
, ...
}}
\begin{methoddesc}
{
sort
}{
sort
_
criteria, charset, search
_
criteri
on
\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
_
criteri
um
}
Sort has two arguments before the
\var
{
search
_
criteri
on
}
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
...
...
Lib/imaplib.py
Dosyayı görüntüle @
3ae0f7a7
...
...
@@ -573,7 +573,7 @@ class IMAP4:
def
search
(
self
,
charset
,
*
criteria
):
"""Search mailbox for matching messages.
(typ, [data]) = <instance>.search(charset, criteri
um
, ...)
(typ, [data]) = <instance>.search(charset, criteri
on
, ...)
'data' is space separated list of matching message numbers.
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment