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
32efcdbc
Kaydet (Commit)
32efcdbc
authored
Şub 26, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cleanup_helper(): Added missing "void" type for the function, updated
comments to reflect reality.
üst
b60654bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
_weakref.c
Modules/_weakref.c
+3
-6
No files found.
Modules/_weakref.c
Dosyayı görüntüle @
32efcdbc
...
@@ -685,14 +685,11 @@ weakref_proxy(PyObject *self, PyObject *args)
...
@@ -685,14 +685,11 @@ weakref_proxy(PyObject *self, PyObject *args)
* is installed in the init_weakref() function. It is called by the
* is installed in the init_weakref() function. It is called by the
* tp_dealloc handler to clear weak references.
* tp_dealloc handler to clear weak references.
*
*
* This returns true if the object should be deallocated, and false if the
* object is resurrected and deallocation should be aborted.
*
* This iterates through the weak references for 'object' and calls callbacks
* This iterates through the weak references for 'object' and calls callbacks
*
until one resurrects the object, at which point it stops invalidating
*
for those references which have one. It returns when all callbacks have
*
weak references and returns false
.
*
been attempted
.
*/
*/
static
static
void
cleanup_helper
(
PyObject
*
object
)
cleanup_helper
(
PyObject
*
object
)
{
{
PyWeakReference
**
list
;
PyWeakReference
**
list
;
...
...
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