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
52b39f5b
Kaydet (Commit)
52b39f5b
authored
Mar 11, 2003
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
body_line_iterator() now takes a decode argument.
üst
08898499
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
emailiter.tex
Doc/lib/emailiter.tex
+3
-1
No files found.
Doc/lib/emailiter.tex
Dosyayı görüntüle @
52b39f5b
...
...
@@ -6,13 +6,15 @@ Iterating over a message object tree is fairly easy with the
provides some useful higher level iterations over message object
trees.
\begin{funcdesc}
{
body
_
line
_
iterator
}{
msg
}
\begin{funcdesc}
{
body
_
line
_
iterator
}{
msg
\optional
{
, decode
}
}
This iterates over all the payloads in all the subparts of
\var
{
msg
}
,
returning the string payloads line-by-line. It skips over all the
subpart headers, and it skips over any subpart with a payload that
isn't a Python string. This is somewhat equivalent to reading the
flat text representation of the message from a file using
\method
{
readline()
}
, skipping over all the intervening headers.
Optional
\var
{
decode
}
is passed through to
\method
{
Message.get
_
payload()
}
.
\end{funcdesc}
\begin{funcdesc}
{
typed
_
subpart
_
iterator
}{
msg
\optional
{
,
...
...
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