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
a6bc4b4c
Kaydet (Commit)
a6bc4b4c
authored
Haz 15, 2012
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #14933: fix misleading doc about weakref support in extension types.
üst
96f806bc
13775221
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
newtypes.rst
Doc/extending/newtypes.rst
+2
-3
No files found.
Doc/extending/newtypes.rst
Dosyayı görüntüle @
a6bc4b4c
...
@@ -1437,9 +1437,8 @@ The type constructor is responsible for initializing the weak reference list to
...
@@ -1437,9 +1437,8 @@ The type constructor is responsible for initializing the weak reference list to
}
}
The only further addition is that the destructor needs to call the weak
The only further addition is that the destructor needs to call the weak
reference manager to clear any weak references. This should be done before any
reference manager to clear any weak references. This is only required if the
other parts of the destruction have occurred, but is only required if the weak
weak reference list is non-*NULL*::
reference list is non-*NULL*::
static void
static void
instance_dealloc(PyInstanceObject *inst)
instance_dealloc(PyInstanceObject *inst)
...
...
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