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
91b88c8d
Kaydet (Commit)
91b88c8d
authored
Ara 14, 2013
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#19981: fix typo in email.mailbox docs. Patch by Claudiu Popa.
üst
17f22c92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mailbox.rst
Doc/library/mailbox.rst
+2
-2
No files found.
Doc/library/mailbox.rst
Dosyayı görüntüle @
91b88c8d
...
@@ -1664,7 +1664,7 @@ programs, mail loss due to interruption of the program, or premature termination
...
@@ -1664,7 +1664,7 @@ programs, mail loss due to interruption of the program, or premature termination
due to malformed messages in the mailbox::
due to malformed messages in the mailbox::
import mailbox
import mailbox
import email.
E
rrors
import email.
e
rrors
list_names = ('python-list', 'python-dev', 'python-bugs')
list_names = ('python-list', 'python-dev', 'python-bugs')
...
@@ -1674,7 +1674,7 @@ due to malformed messages in the mailbox::
...
@@ -1674,7 +1674,7 @@ due to malformed messages in the mailbox::
for key in inbox.iterkeys():
for key in inbox.iterkeys():
try:
try:
message = inbox[key]
message = inbox[key]
except email.
E
rrors.MessageParseError:
except email.
e
rrors.MessageParseError:
continue # The message is malformed. Just leave it.
continue # The message is malformed. Just leave it.
for name in list_names:
for name in list_names:
...
...
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