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
9b955de7
Kaydet (Commit)
9b955de7
authored
Ara 07, 2010
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use the more direct API
üst
9b4e27e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
descrobject.c
Objects/descrobject.c
+3
-3
No files found.
Objects/descrobject.c
Dosyayı görüntüle @
9b955de7
...
@@ -1190,7 +1190,7 @@ property_descr_get(PyObject *self, PyObject *obj, PyObject *type)
...
@@ -1190,7 +1190,7 @@ property_descr_get(PyObject *self, PyObject *obj, PyObject *type)
PyErr_SetString
(
PyExc_AttributeError
,
"unreadable attribute"
);
PyErr_SetString
(
PyExc_AttributeError
,
"unreadable attribute"
);
return
NULL
;
return
NULL
;
}
}
return
PyObject_CallFunction
(
gs
->
prop_get
,
"(O)"
,
obj
);
return
PyObject_CallFunction
ObjArgs
(
gs
->
prop_get
,
obj
,
NULL
);
}
}
static
int
static
int
...
@@ -1211,9 +1211,9 @@ property_descr_set(PyObject *self, PyObject *obj, PyObject *value)
...
@@ -1211,9 +1211,9 @@ property_descr_set(PyObject *self, PyObject *obj, PyObject *value)
return
-
1
;
return
-
1
;
}
}
if
(
value
==
NULL
)
if
(
value
==
NULL
)
res
=
PyObject_CallFunction
(
func
,
"(O)"
,
obj
);
res
=
PyObject_CallFunction
ObjArgs
(
func
,
obj
,
NULL
);
else
else
res
=
PyObject_CallFunction
(
func
,
"(OO)"
,
obj
,
value
);
res
=
PyObject_CallFunction
ObjArgs
(
func
,
obj
,
value
,
NULL
);
if
(
res
==
NULL
)
if
(
res
==
NULL
)
return
-
1
;
return
-
1
;
Py_DECREF
(
res
);
Py_DECREF
(
res
);
...
...
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