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
4254cbd2
Kaydet (Commit)
4254cbd2
authored
Tem 09, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Note that unicode() can raise LookupError for unknown codecs.
Closes SF bug #513666.
üst
eab5f8a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
libfuncs.tex
Doc/lib/libfuncs.tex
+2
-1
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
4254cbd2
...
@@ -859,7 +859,8 @@ def my_import(name):
...
@@ -859,7 +859,8 @@ def my_import(name):
If
\var
{
encoding
}
and/or
\var
{
errors
}
are given,
\code
{
unicode()
}
If
\var
{
encoding
}
and/or
\var
{
errors
}
are given,
\code
{
unicode()
}
will decode the object which can either be an 8-bit string or a
will decode the object which can either be an 8-bit string or a
character buffer using the codec for
\var
{
encoding
}
. The
character buffer using the codec for
\var
{
encoding
}
. The
\var
{
encoding
}
parameter is a string giving the name of an encoding.
\var
{
encoding
}
parameter is a string giving the name of an encoding;
if the encoding is not known,
\exception
{
LookupError
}
is raised.
Error handling is done according to
\var
{
errors
}
; this specifies the
Error handling is done according to
\var
{
errors
}
; this specifies the
treatment of characters which are invalid in the input encoding. If
treatment of characters which are invalid in the input encoding. If
\var
{
errors
}
is
\code
{
'strict'
}
(the default), a
\var
{
errors
}
is
\code
{
'strict'
}
(the default), a
...
...
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