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
e98628d6
Kaydet (Commit)
e98628d6
authored
Ock 06, 2011
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove doc for nonexisting parameter.
üst
ca023cab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
charset.py
Lib/email/charset.py
+1
-3
No files found.
Lib/email/charset.py
Dosyayı görüntüle @
e98628d6
...
@@ -294,7 +294,7 @@ class Charset:
...
@@ -294,7 +294,7 @@ class Charset:
"""Header-encode a string by converting it first to bytes.
"""Header-encode a string by converting it first to bytes.
This is similar to `header_encode()` except that the string is fit
This is similar to `header_encode()` except that the string is fit
into maximum line lengths as given by the argument
s
.
into maximum line lengths as given by the argument.
:param string: A unicode string for the header. It must be possible
:param string: A unicode string for the header. It must be possible
to encode this string to bytes using the character set's
to encode this string to bytes using the character set's
...
@@ -305,8 +305,6 @@ class Charset:
...
@@ -305,8 +305,6 @@ class Charset:
and should never be exhausted. The maximum line lengths should
and should never be exhausted. The maximum line lengths should
not count the RFC 2047 chrome. These line lengths are only a
not count the RFC 2047 chrome. These line lengths are only a
hint; the splitter does the best it can.
hint; the splitter does the best it can.
:param firstmaxlen: The maximum line length of the first line. If
None (the default), then `maxlen` is used for the first line.
:return: Lines of encoded strings, each with RFC 2047 chrome.
:return: Lines of encoded strings, each with RFC 2047 chrome.
"""
"""
# See which encoding we should use.
# See which encoding we should use.
...
...
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