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
ef5b4e3d
Kaydet (Commit)
ef5b4e3d
authored
May 14, 2014
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.
üst
ae9d193d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
codecs.rst
Doc/library/codecs.rst
+6
-4
ACKS
Misc/ACKS
+1
-0
No files found.
Doc/library/codecs.rst
Dosyayı görüntüle @
ef5b4e3d
...
@@ -22,9 +22,10 @@ manages the codec and error handling lookup process.
...
@@ -22,9 +22,10 @@ manages the codec and error handling lookup process.
It defines the following functions:
It defines the following functions:
.. function:: encode(obj,
encoding='utf-8', errors='strict'
)
.. function:: encode(obj,
[encoding[, errors]]
)
Encodes *obj* using the codec registered for *encoding*.
Encodes *obj* using the codec registered for *encoding*. The default
encoding is ``utf-8``.
*Errors* may be given to set the desired error handling scheme. The
*Errors* may be given to set the desired error handling scheme. The
default error handler is ``strict`` meaning that encoding errors raise
default error handler is ``strict`` meaning that encoding errors raise
...
@@ -32,9 +33,10 @@ It defines the following functions:
...
@@ -32,9 +33,10 @@ It defines the following functions:
:exc:`UnicodeEncodeError`). Refer to :ref:`codec-base-classes` for more
:exc:`UnicodeEncodeError`). Refer to :ref:`codec-base-classes` for more
information on codec error handling.
information on codec error handling.
.. function:: decode(obj,
encoding='utf-8', errors='strict'
)
.. function:: decode(obj,
[encoding[, errors]]
)
Decodes *obj* using the codec registered for *encoding*.
Decodes *obj* using the codec registered for *encoding*. The default
encoding is ``utf-8``.
*Errors* may be given to set the desired error handling scheme. The
*Errors* may be given to set the desired error handling scheme. The
default error handler is ``strict`` meaning that decoding errors raise
default error handler is ``strict`` meaning that decoding errors raise
...
...
Misc/ACKS
Dosyayı görüntüle @
ef5b4e3d
...
@@ -57,6 +57,7 @@ David Ascher
...
@@ -57,6 +57,7 @@ David Ascher
Chris AtLee
Chris AtLee
Aymeric Augustin
Aymeric Augustin
John Aycock
John Aycock
Brad Aylsworth
Donovan Baarda
Donovan Baarda
Arne Babenhauserheide
Arne Babenhauserheide
Attila Babo
Attila Babo
...
...
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