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
42a1172c
Kaydet (Commit)
42a1172c
authored
Nis 23, 2003
tarafından
Thomas Heller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the new format codes B, H, I, k, K.
üst
1d877863
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
utilities.tex
Doc/api/utilities.tex
+22
-0
No files found.
Doc/api/utilities.tex
Dosyayı görüntüle @
42a1172c
...
@@ -487,20 +487,42 @@ whose address should be passed.
...
@@ -487,20 +487,42 @@ whose address should be passed.
\item
[\samp{b} (integer) {[char]
}
]
\item
[\samp{b} (integer) {[char]
}
]
Convert a Python integer to a tiny int, stored in a C
\ctype
{
char
}
.
Convert a Python integer to a tiny int, stored in a C
\ctype
{
char
}
.
\item
[\samp{B} (integer) {[unsigned char]
}
]
Convert a Python integer to a tiny int without overflow checking,
stored in a C
\ctype
{
unsigned char
}
.
\versionadded
{
2.3
}
\item
[\samp{h} (integer) {[short int]
}
]
\item
[\samp{h} (integer) {[short int]
}
]
Convert a Python integer to a C
\ctype
{
short int
}
.
Convert a Python integer to a C
\ctype
{
short int
}
.
\item
[\samp{H} (integer) {[unsigned short int]
}
]
Convert a Python integer to a C
\ctype
{
unsigned short int
}
, without
overflow checking.
\versionadded
{
2.3
}
\item
[\samp{i} (integer) {[int]
}
]
\item
[\samp{i} (integer) {[int]
}
]
Convert a Python integer to a plain C
\ctype
{
int
}
.
Convert a Python integer to a plain C
\ctype
{
int
}
.
\item
[\samp{I} (integer) {[unsigned int]
}
]
Convert a Python integer to a C
\ctype
{
unsigned int
}
, without
overflow checking.
\versionadded
{
2.3
}
\item
[\samp{l} (integer) {[long int]
}
]
\item
[\samp{l} (integer) {[long int]
}
]
Convert a Python integer to a C
\ctype
{
long int
}
.
Convert a Python integer to a C
\ctype
{
long int
}
.
\item
[\samp{k} (integer) {[unsigned long]
}
]
Convert a Python integer to a C
\ctype
{
unsigned long
}
without
overflow checking.
\versionadded
{
2.3
}
\item
[\samp{L} (integer) {[PY_LONG_LONG]
}
]
\item
[\samp{L} (integer) {[PY_LONG_LONG]
}
]
Convert a Python integer to a C
\ctype
{
long long
}
. This format is
Convert a Python integer to a C
\ctype
{
long long
}
. This format is
only available on platforms that support
\ctype
{
long long
}
(or
only available on platforms that support
\ctype
{
long long
}
(or
\ctype
{_
int64
}
on Windows).
\ctype
{_
int64
}
on Windows).
\item
[\samp{K} (integer) {[unsigned PY_LONG_LONG]
}
]
Convert a Python integer to a C
\ctype
{
unsigned long long
}
without overflow checking. This format is only available on
platforms that support
\ctype
{
unsigned long long
}
(or
\ctype
{
unsigned
_
int64
}
on Windows).
\versionadded
{
2.3
}
\item
[\samp{c} (string of length 1) {[char]
}
]
\item
[\samp{c} (string of length 1) {[char]
}
]
Convert a Python character, represented as a string of length 1, to
Convert a Python character, represented as a string of length 1, to
a C
\ctype
{
char
}
.
a C
\ctype
{
char
}
.
...
...
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