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
2ba93210
Kaydet (Commit)
2ba93210
authored
Eyl 01, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#3749: fix c'n'p errors.
üst
f22c26ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
codecs.rst
Doc/library/codecs.rst
+3
-3
No files found.
Doc/library/codecs.rst
Dosyayı görüntüle @
2ba93210
...
@@ -51,13 +51,13 @@ It defines the following functions:
...
@@ -51,13 +51,13 @@ It defines the following functions:
Codec Interface). The functions/methods are expected to work in a stateless
Codec Interface). The functions/methods are expected to work in a stateless
mode.
mode.
*incrementalencoder* and *incremental
en
coder*: These have to be factory
*incrementalencoder* and *incremental
de
coder*: These have to be factory
functions providing the following interface:
functions providing the following interface:
``factory(errors='strict')``
``factory(errors='strict')``
The factory functions must return objects providing the interfaces defined by
The factory functions must return objects providing the interfaces defined by
the base classes :class:`IncrementalEncoder` and :class:`Incremental
En
coder`,
the base classes :class:`IncrementalEncoder` and :class:`Incremental
De
coder`,
respectively. Incremental codecs can maintain state.
respectively. Incremental codecs can maintain state.
*streamreader* and *streamwriter*: These have to be factory functions providing
*streamreader* and *streamwriter*: These have to be factory functions providing
...
@@ -477,7 +477,7 @@ define in order to be compatible with the Python codec registry.
...
@@ -477,7 +477,7 @@ define in order to be compatible with the Python codec registry.
The *errors* argument will be assigned to an attribute of the same name.
The *errors* argument will be assigned to an attribute of the same name.
Assigning to this attribute makes it possible to switch between different error
Assigning to this attribute makes it possible to switch between different error
handling strategies during the lifetime of the :class:`Incremental
En
coder`
handling strategies during the lifetime of the :class:`Incremental
De
coder`
object.
object.
The set of allowed values for the *errors* argument can be extended with
The set of allowed values for the *errors* argument can be extended with
...
...
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