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
d37ac69e
Kaydet (Commit)
d37ac69e
authored
Mar 30, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unnecessary casts from type object initializers.
üst
347b3004
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
35 deletions
+35
-35
cStringIO.c
Modules/cStringIO.c
+13
-13
collectionsmodule.c
Modules/collectionsmodule.c
+4
-4
threadmodule.c
Modules/threadmodule.c
+18
-18
No files found.
Modules/cStringIO.c
Dosyayı görüntüle @
d37ac69e
...
@@ -503,17 +503,17 @@ static PyTypeObject Otype = {
...
@@ -503,17 +503,17 @@ static PyTypeObject Otype = {
0
,
/*tp_itemsize*/
0
,
/*tp_itemsize*/
/* methods */
/* methods */
(
destructor
)
O_dealloc
,
/*tp_dealloc*/
(
destructor
)
O_dealloc
,
/*tp_dealloc*/
(
printfunc
)
0
,
/*tp_print*/
0
,
/*tp_print*/
0
,
/*tp_getattr */
0
,
/*tp_getattr */
0
,
/*tp_setattr */
0
,
/*tp_setattr */
(
cmpfunc
)
0
,
/*tp_compare*/
0
,
/*tp_compare*/
(
reprfunc
)
0
,
/*tp_repr*/
0
,
/*tp_repr*/
0
,
/*tp_as_number*/
0
,
/*tp_as_number*/
0
,
/*tp_as_sequence*/
0
,
/*tp_as_sequence*/
0
,
/*tp_as_mapping*/
0
,
/*tp_as_mapping*/
(
hashfunc
)
0
,
/*tp_hash*/
0
,
/*tp_hash*/
(
ternaryfunc
)
0
,
/*tp_call*/
0
,
/*tp_call*/
(
reprfunc
)
0
,
/*tp_str*/
0
,
/*tp_str*/
0
,
/*tp_getattro */
0
,
/*tp_getattro */
0
,
/*tp_setattro */
0
,
/*tp_setattro */
0
,
/*tp_as_buffer */
0
,
/*tp_as_buffer */
...
@@ -624,17 +624,17 @@ static PyTypeObject Itype = {
...
@@ -624,17 +624,17 @@ static PyTypeObject Itype = {
0
,
/*tp_itemsize*/
0
,
/*tp_itemsize*/
/* methods */
/* methods */
(
destructor
)
I_dealloc
,
/*tp_dealloc*/
(
destructor
)
I_dealloc
,
/*tp_dealloc*/
(
printfunc
)
0
,
/*tp_print*/
0
,
/*tp_print*/
0
,
/* tp_getattr */
0
,
/* tp_getattr */
(
setattrfunc
)
0
,
/*tp_setattr*/
0
,
/*tp_setattr*/
(
cmpfunc
)
0
,
/*tp_compare*/
0
,
/*tp_compare*/
(
reprfunc
)
0
,
/*tp_repr*/
0
,
/*tp_repr*/
0
,
/*tp_as_number*/
0
,
/*tp_as_number*/
0
,
/*tp_as_sequence*/
0
,
/*tp_as_sequence*/
0
,
/*tp_as_mapping*/
0
,
/*tp_as_mapping*/
(
hashfunc
)
0
,
/*tp_hash*/
0
,
/*tp_hash*/
(
ternaryfunc
)
0
,
/*tp_call*/
0
,
/*tp_call*/
(
reprfunc
)
0
,
/*tp_str*/
0
,
/*tp_str*/
0
,
/* tp_getattro */
0
,
/* tp_getattro */
0
,
/* tp_setattro */
0
,
/* tp_setattro */
0
,
/* tp_as_buffer */
0
,
/* tp_as_buffer */
...
...
Modules/collectionsmodule.c
Dosyayı görüntüle @
d37ac69e
...
@@ -832,11 +832,11 @@ static PyTypeObject deque_type = {
...
@@ -832,11 +832,11 @@ static PyTypeObject deque_type = {
0
,
/* tp_itemsize */
0
,
/* tp_itemsize */
/* methods */
/* methods */
(
destructor
)
deque_dealloc
,
/* tp_dealloc */
(
destructor
)
deque_dealloc
,
/* tp_dealloc */
(
printfunc
)
deque_tp_print
,
/* tp_print */
deque_tp_print
,
/* tp_print */
0
,
/* tp_getattr */
0
,
/* tp_getattr */
0
,
/* tp_setattr */
0
,
/* tp_setattr */
0
,
/* tp_compare */
0
,
/* tp_compare */
(
reprfunc
)
deque_repr
,
/* tp_repr */
deque_repr
,
/* tp_repr */
0
,
/* tp_as_number */
0
,
/* tp_as_number */
&
deque_as_sequence
,
/* tp_as_sequence */
&
deque_as_sequence
,
/* tp_as_sequence */
0
,
/* tp_as_mapping */
0
,
/* tp_as_mapping */
...
@@ -1302,7 +1302,7 @@ static PyTypeObject defdict_type = {
...
@@ -1302,7 +1302,7 @@ static PyTypeObject defdict_type = {
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_BASETYPE
|
Py_TPFLAGS_HAVE_GC
|
Py_TPFLAGS_DEFAULT
|
Py_TPFLAGS_BASETYPE
|
Py_TPFLAGS_HAVE_GC
|
Py_TPFLAGS_HAVE_WEAKREFS
,
/* tp_flags */
Py_TPFLAGS_HAVE_WEAKREFS
,
/* tp_flags */
defdict_doc
,
/* tp_doc */
defdict_doc
,
/* tp_doc */
(
traverseproc
)
defdict_traverse
,
/* tp_traverse */
defdict_traverse
,
/* tp_traverse */
(
inquiry
)
defdict_tp_clear
,
/* tp_clear */
(
inquiry
)
defdict_tp_clear
,
/* tp_clear */
0
,
/* tp_richcompare */
0
,
/* tp_richcompare */
0
,
/* tp_weaklistoffset*/
0
,
/* tp_weaklistoffset*/
...
@@ -1316,7 +1316,7 @@ static PyTypeObject defdict_type = {
...
@@ -1316,7 +1316,7 @@ static PyTypeObject defdict_type = {
0
,
/* tp_descr_get */
0
,
/* tp_descr_get */
0
,
/* tp_descr_set */
0
,
/* tp_descr_set */
0
,
/* tp_dictoffset */
0
,
/* tp_dictoffset */
(
initproc
)
defdict_init
,
/* tp_init */
defdict_init
,
/* tp_init */
PyType_GenericAlloc
,
/* tp_alloc */
PyType_GenericAlloc
,
/* tp_alloc */
0
,
/* tp_new */
0
,
/* tp_new */
PyObject_GC_Del
,
/* tp_free */
PyObject_GC_Del
,
/* tp_free */
...
...
Modules/threadmodule.c
Dosyayı görüntüle @
d37ac69e
...
@@ -375,17 +375,17 @@ static PyTypeObject localtype = {
...
@@ -375,17 +375,17 @@ static PyTypeObject localtype = {
/* tp_basicsize */
sizeof
(
localobject
),
/* tp_basicsize */
sizeof
(
localobject
),
/* tp_itemsize */
0
,
/* tp_itemsize */
0
,
/* tp_dealloc */
(
destructor
)
local_dealloc
,
/* tp_dealloc */
(
destructor
)
local_dealloc
,
/* tp_print */
(
printfunc
)
0
,
/* tp_print */
0
,
/* tp_getattr */
(
getattrfunc
)
0
,
/* tp_getattr */
0
,
/* tp_setattr */
(
setattrfunc
)
0
,
/* tp_setattr */
0
,
/* tp_compare */
(
cmpfunc
)
0
,
/* tp_compare */
0
,
/* tp_repr */
(
reprfunc
)
0
,
/* tp_repr */
0
,
/* tp_as_number */
0
,
/* tp_as_number */
0
,
/* tp_as_sequence */
0
,
/* tp_as_sequence */
0
,
/* tp_as_mapping */
0
,
/* tp_as_mapping */
0
,
/* tp_hash */
(
hashfunc
)
0
,
/* tp_hash */
0
,
/* tp_call */
(
ternaryfunc
)
0
,
/* tp_call */
0
,
/* tp_str */
(
reprfunc
)
0
,
/* tp_str */
0
,
/* tp_getattro */
(
getattrofunc
)
local_getattro
,
/* tp_getattro */
(
getattrofunc
)
local_getattro
,
/* tp_setattro */
(
setattrofunc
)
local_setattro
,
/* tp_setattro */
(
setattrofunc
)
local_setattro
,
/* tp_as_buffer */
0
,
/* tp_as_buffer */
0
,
...
@@ -393,23 +393,23 @@ static PyTypeObject localtype = {
...
@@ -393,23 +393,23 @@ static PyTypeObject localtype = {
/* tp_doc */
"Thread-local data"
,
/* tp_doc */
"Thread-local data"
,
/* tp_traverse */
(
traverseproc
)
local_traverse
,
/* tp_traverse */
(
traverseproc
)
local_traverse
,
/* tp_clear */
(
inquiry
)
local_clear
,
/* tp_clear */
(
inquiry
)
local_clear
,
/* tp_richcompare */
(
richcmpfunc
)
0
,
/* tp_richcompare */
0
,
/* tp_weaklistoffset */
(
long
)
0
,
/* tp_weaklistoffset */
0
,
/* tp_iter */
(
getiterfunc
)
0
,
/* tp_iter */
0
,
/* tp_iternext */
(
iternextfunc
)
0
,
/* tp_iternext */
0
,
/* tp_methods */
0
,
/* tp_methods */
0
,
/* tp_members */
0
,
/* tp_members */
0
,
/* tp_getset */
local_getset
,
/* tp_getset */
local_getset
,
/* tp_base */
0
,
/* tp_base */
0
,
/* tp_dict */
0
,
/* internal use */
/* tp_dict */
0
,
/* internal use */
/* tp_descr_get */
(
descrgetfunc
)
0
,
/* tp_descr_get */
0
,
/* tp_descr_set */
(
descrsetfunc
)
0
,
/* tp_descr_set */
0
,
/* tp_dictoffset */
offsetof
(
localobject
,
dict
),
/* tp_dictoffset */
offsetof
(
localobject
,
dict
),
/* tp_init */
(
initproc
)
0
,
/* tp_init */
0
,
/* tp_alloc */
(
allocfunc
)
0
,
/* tp_alloc */
0
,
/* tp_new */
(
newfunc
)
local_new
,
/* tp_new */
local_new
,
/* tp_free */
0
,
/* Low-level free-mem routine */
/* tp_free */
0
,
/* Low-level free-mem routine */
/* tp_is_gc */
(
inquiry
)
0
,
/* For PyObject_IS_GC */
/* tp_is_gc */
0
,
/* For PyObject_IS_GC */
};
};
...
...
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