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
aacc0899
Kaydet (Commit)
aacc0899
authored
Ara 02, 2007
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove mentions of "long integer" in the API docs.
üst
9914dd33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
abstract.rst
Doc/c-api/abstract.rst
+1
-1
utilities.rst
Doc/c-api/utilities.rst
+11
-11
No files found.
Doc/c-api/abstract.rst
Dosyayı görüntüle @
aacc0899
...
...
@@ -583,7 +583,7 @@ Number Protocol
.. index:: builtin: long
Returns the *o* converted to a
long
integer object on success, or *NULL* on
Returns the *o* converted to a
n
integer object on success, or *NULL* on
failure. This is the equivalent of the Python expression ``long(o)``.
...
...
Doc/c-api/utilities.rst
Dosyayı görüntüle @
aacc0899
...
...
@@ -557,7 +557,7 @@ variable(s) whose address should be passed.
Convert a Python integer to a C :ctype:`long int`.
``k`` (integer) [unsigned long]
Convert a Python integer
or long integer
to a C :ctype:`unsigned long` without
Convert a Python integer to a C :ctype:`unsigned long` without
overflow checking.
``L`` (integer) [PY_LONG_LONG]
...
...
@@ -566,12 +566,12 @@ variable(s) whose address should be passed.
Windows).
``K`` (integer) [unsigned PY_LONG_LONG]
Convert a Python integer
or long integer
to a C :ctype:`unsigned 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).
``n`` (integer) [Py_ssize_t]
Convert a Python integer
or long integer
to a C :ctype:`Py_ssize_t`.
Convert a Python integer to a C :ctype:`Py_ssize_t`.
``c`` (string of length 1) [char]
Convert a Python character, represented as a string of length 1, to a C
...
...
@@ -647,11 +647,11 @@ variable(s) whose address should be passed.
in *items*. The C arguments must correspond to the individual format units in
*items*. Format units for sequences may be nested.
It is possible to pass
Python long integers where integers are requested;
however no proper range checking is done --- the most significant bits ar
e
silently truncated when the receiving field is too small to receive the value
(actually, the semantics are inherited from downcasts in C --- your mileage may
vary).
It is possible to pass
"long" integers (integers whose value exceeds the
platform's :const:`LONG_MAX`) however no proper range checking is done --- th
e
most significant bits are silently truncated when the receiving field is too
small to receive the value (actually, the semantics are inherited from downcasts
in C --- your mileage may
vary).
A few other characters have a meaning in a format string. These may not occur
inside nested parentheses. They are:
...
...
@@ -849,15 +849,15 @@ return true, otherwise they return false and raise an appropriate exception.
integer object, if it is larger than ``sys.maxint``.
``L`` (long) [PY_LONG_LONG]
Convert a C :ctype:`long long` to a Python
long
integer object. Only available
Convert a C :ctype:`long long` to a Python integer object. Only available
on platforms that support :ctype:`long long`.
``K`` (long) [unsigned PY_LONG_LONG]
Convert a C :ctype:`unsigned long long` to a Python
long
integer object. Only
Convert a C :ctype:`unsigned long long` to a Python integer object. Only
available on platforms that support :ctype:`unsigned long long`.
``n`` (int) [Py_ssize_t]
Convert a C :ctype:`Py_ssize_t` to a Python integer
or long integer
.
Convert a C :ctype:`Py_ssize_t` to a Python integer.
``c`` (string of length 1) [char]
Convert a C :ctype:`int` representing a character to a Python string of length
...
...
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