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
0c230b9d
Kaydet (Commit)
0c230b9d
authored
Agu 17, 2005
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Note that the PyNumber protocol can access most set methods directly.
üst
f81e4502
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
concrete.tex
Doc/api/concrete.tex
+10
-3
No files found.
Doc/api/concrete.tex
Dosyayı görüntüle @
0c230b9d
...
...
@@ -1144,7 +1144,7 @@ These are the UTF-16 codec APIs:
If
\var
{
consumed
}
is
\NULL
{}
, behaves like
\cfunction
{
PyUnicode
_
DecodeUTF16()
}
. If
\var
{
consumed
}
is not
\NULL
{}
,
\cfunction
{
PyUnicode
_
DecodeUTF16Stateful()
}
will not treat trailing incomplete
UTF-16 byte sequences (
i.e.
an odd number of bytes or a split surrogate pair)
UTF-16 byte sequences (
such as
an odd number of bytes or a split surrogate pair)
as an error. Those bytes will not be decoded and the number of bytes that
have been decoded will be stored in
\var
{
consumed
}
.
\versionadded
{
2.4
}
...
...
@@ -2908,11 +2908,18 @@ Macros for the convenience of modules implementing the DB API:
This section details the public API for
\class
{
set
}
and
\class
{
frozenset
}
objects. Any functionality not listed below is best accessed using the
abstract object API
(including
either the abstract object protocol
(including
\cfunction
{
PyObject
_
CallMethod()
}
,
\cfunction
{
PyObject
_
RichCompareBool()
}
,
\cfunction
{
PyObject
_
Hash()
}
,
\cfunction
{
PyObject
_
Repr()
}
,
\cfunction
{
PyObject
_
IsTrue()
}
,
\cfunction
{
PyObject
_
Print()
}
, and
\cfunction
{
PyObject
_
GetIter()
}
).
\cfunction
{
PyObject
_
GetIter()
}
)
or the abstract number protocol (including
\cfunction
{
PyNumber
_
Add()
}
,
\cfunction
{
PyNumber
_
Subtract()
}
,
\cfunction
{
PyNumber
_
Or()
}
,
\cfunction
{
PyNumber
_
Xor()
}
,
\cfunction
{
PyNumber
_
InplaceAdd()
}
,
\cfunction
{
PyNumber
_
InplaceSubtract()
}
,
\cfunction
{
PyNumber
_
InplaceOr()
}
, and
\cfunction
{
PyNumber
_
InplaceXor()
}
).
Note, the latter are also useful for copying (
\code
{
c=s+s
}
) and clearing
(
\code
{
s-=s
}
).
\begin{ctypedesc}
{
PySetObject
}
This subtype of
\ctype
{
PyObject
}
is used to hold the internal data for
...
...
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