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
67a521ef
Kaydet (Commit)
67a521ef
authored
May 06, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
note that descriptor objects must be instances of new-style types
(closes SF bug #817742)
üst
e143bbb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ref3.tex
Doc/ref/ref3.tex
+2
-1
No files found.
Doc/ref/ref3.tex
Dosyayı görüntüle @
67a521ef
...
@@ -1296,7 +1296,8 @@ containing the method (a so-called \emph{descriptor} class) appears in
...
@@ -1296,7 +1296,8 @@ containing the method (a so-called \emph{descriptor} class) appears in
the class dictionary of another new-style class, known as the
the class dictionary of another new-style class, known as the
\emph
{
owner
}
class. In the examples below, ``the attribute'' refers to
\emph
{
owner
}
class. In the examples below, ``the attribute'' refers to
the attribute whose name is the key of the property in the owner
the attribute whose name is the key of the property in the owner
class'
\code
{__
dict
__}
.
class'
\code
{__
dict
__}
. Descriptors can only be implemented as
new-style classes themselves.
\begin{methoddesc}
[object]
{__
get
__}{
self, instance, owner
}
\begin{methoddesc}
[object]
{__
get
__}{
self, instance, owner
}
Called to get the attribute of the owner class (class attribute access)
Called to get the attribute of the owner class (class attribute access)
...
...
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