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
c73e9d84
Kaydet (Commit)
c73e9d84
authored
Eki 15, 2016
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #23231: Document codecs.iterencode(), iterdecode() shortcomings
üst
1cea56b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
codecs.rst
Doc/library/codecs.rst
+9
-0
No files found.
Doc/library/codecs.rst
Dosyayı görüntüle @
c73e9d84
...
@@ -224,6 +224,10 @@ wider range of codecs when working with binary files:
...
@@ -224,6 +224,10 @@ wider range of codecs when working with binary files:
The *errors* argument (as well as any
The *errors* argument (as well as any
other keyword argument) is passed through to the incremental encoder.
other keyword argument) is passed through to the incremental encoder.
This function requires that the codec accept text :class:`str` objects
to encode. Therefore it does not support bytes-to-bytes encoders such as
``base64_codec``.
.. function:: iterdecode(iterator, encoding, errors='strict', **kwargs)
.. function:: iterdecode(iterator, encoding, errors='strict', **kwargs)
...
@@ -232,6 +236,11 @@ wider range of codecs when working with binary files:
...
@@ -232,6 +236,11 @@ wider range of codecs when working with binary files:
The *errors* argument (as well as any
The *errors* argument (as well as any
other keyword argument) is passed through to the incremental decoder.
other keyword argument) is passed through to the incremental decoder.
This function requires that the codec accept :class:`bytes` objects
to decode. Therefore it does not support text-to-text encoders such as
``rot_13``, although ``rot_13`` may be used equivalently with
:func:`iterencode`.
The module also provides the following constants which are useful for reading
The module also provides the following constants which are useful for reading
and writing to platform dependent files:
and writing to platform dependent files:
...
...
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