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
21ae4f98
Kaydet (Commit)
21ae4f98
authored
Şub 03, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
minor markup adjustments
üst
ea2adc9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libweakref.tex
Doc/lib/libweakref.tex
+2
-2
No files found.
Doc/lib/libweakref.tex
Dosyayı görüntüle @
21ae4f98
...
@@ -57,7 +57,7 @@ be made to support weak references; see section \ref{weakref-extension},
...
@@ -57,7 +57,7 @@ be made to support weak references; see section \ref{weakref-extension},
Return a weak reference to
\var
{
object
}
. The original object can be
Return a weak reference to
\var
{
object
}
. The original object can be
retrieved by calling the reference object if the referent is still
retrieved by calling the reference object if the referent is still
alive; if the referent is no longer alive, calling the reference
alive; if the referent is no longer alive, calling the reference
object will cause
\co
de
{
None
}
to be returned. If
\var
{
callback
}
is
object will cause
\co
nstant
{
None
}
to be returned. If
\var
{
callback
}
is
provided and not
\constant
{
None
}
,
provided and not
\constant
{
None
}
,
it will be called when the object is about to be
it will be called when the object is about to be
finalized; the weak reference object will be passed as the only
finalized; the weak reference object will be passed as the only
...
@@ -191,7 +191,7 @@ True
...
@@ -191,7 +191,7 @@ True
\end{verbatim}
\end{verbatim}
If the referent no longer exists, calling the reference object returns
If the referent no longer exists, calling the reference object returns
\co
de
{
None
}
:
\co
nstant
{
None
}
:
\begin{verbatim}
\begin{verbatim}
>>> del o, o2
>>> del o, o2
...
...
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