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
69f6168b
Kaydet (Commit)
69f6168b
authored
Haz 14, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bug #805015: doc error in PyUnicode_FromEncodedObject.
üst
7259d7bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
15 deletions
+8
-15
concrete.tex
Doc/api/concrete.tex
+8
-15
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
69f6168b
...
...
@@ -1001,21 +1001,14 @@ use these APIs:
const char *errors
}
Coerce an encoded object
\var
{
obj
}
to an Unicode object and return a
reference with incremented refcount.
Coercion is done in the following way:
\begin{enumerate}
\item
Unicode objects are passed back as-is with incremented
refcount.
\note
{
These cannot be decoded; passing a non-
\NULL
{}
value for encoding will result in a
\exception
{
TypeError
}
.
}
\item
String and other char buffer compatible objects are decoded
according to the given encoding and using the error handling
defined by errors. Both can be
\NULL
{}
to have the interface
use the default values (see the next section for details).
\item
All other objects cause an exception.
\end{enumerate}
String and other char buffer compatible objects are decoded
according to the given encoding and using the error handling
defined by errors. Both can be
\NULL
{}
to have the interface
use the default values (see the next section for details).
All other objects, including Unicode objects, cause a
\exception
{
TypeError
}
to be set.
The API returns
\NULL
{}
if there was an error. The caller is
responsible for decref'ing the returned objects.
...
...
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