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
6a00b644
Kaydet (Commit)
6a00b644
authored
Haz 17, 2008
tarafından
Amaury Forgeot d'Arc
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed some versionadded tags, and a reference to "long" in a sample
üst
fdfe62d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
ctypes.rst
Doc/library/ctypes.rst
+0
-12
numbers.rst
Doc/library/numbers.rst
+1
-1
No files found.
Doc/library/ctypes.rst
Dosyayı görüntüle @
6a00b644
...
...
@@ -1875,8 +1875,6 @@ Utility functions
module with a call to the ``free(void *)``, it is important that you
use the function in the same library that allocated the memory.
.. versionadded:: 2.6
.. function:: FormatError([code])
Windows only: Returns a textual description of the error code. If no error code
...
...
@@ -1895,15 +1893,11 @@ Utility functions
Returns the current value of the ctypes-private copy of the system
`errno` variable in the calling thread.
.. versionadded:: 2.6
.. function:: get_last_error()
Windows only: returns the current value of the ctypes-private copy of the system
`LastError` variable in the calling thread.
.. versionadded:: 2.6
.. function:: memmove(dst, src, count)
Same as the standard C memmove library function: copies *count* bytes from
...
...
@@ -1961,16 +1955,12 @@ Utility functions
`errno` variable in the calling thread to `value` and return the
previous value.
.. versionadded:: 2.6
.. function:: set_last_error(value)
Windows only: set the current value of the ctypes-private copy of
the system `LastError` variable in the calling thread to `value`
and return the previous value.
.. versionadded:: 2.6
.. function:: sizeof(obj_or_type)
Returns the size in bytes of a ctypes type or instance memory buffer. Does the
...
...
@@ -2164,8 +2154,6 @@ These are the fundamental ctypes data types:
optional float initializer. On platforms where ``sizeof(long
double) == sizeof(double)`` it is an alias to :class:`c_double`.
.. versionadded:: 2.6
.. class:: c_float
Represents the C float datatype. The constructor accepts an optional float
...
...
Doc/library/numbers.rst
Dosyayı görüntüle @
6a00b644
...
...
@@ -181,7 +181,7 @@ forward and reverse instances of any given operator. For example,
def _operator_fallbacks(monomorphic_operator, fallback_operator):
def forward(a, b):
if isinstance(b, (int,
long,
Fraction)):
if isinstance(b, (int, Fraction)):
return monomorphic_operator(a, b)
elif isinstance(b, float):
return fallback_operator(float(a), b)
...
...
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