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
70da192f
Kaydet (Commit)
70da192f
authored
Agu 07, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
im_function --> im_func
üst
60c3cafc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ref3.tex
Doc/ref/ref3.tex
+2
-2
No files found.
Doc/ref/ref3.tex
Dosyayı görüntüle @
70da192f
...
...
@@ -420,10 +420,10 @@ is the instance, and the method object is said to be bound. For
instance, when
\code
{
C
}
is a class which contains a definition for a
function
\code
{
f
}
,
\code
{
C.f
}
does not yield the function object
\code
{
f
}
; rather, it yields an unbound method object
\code
{
m
}
where
\code
{
m.im
_
class
}
is
\code
{
C
}
,
\code
{
m.im
_
func
tion
}
is
\code
{
f
}
, and
\code
{
m.im
_
class
}
is
\code
{
C
}
,
\code
{
m.im
_
func
}
is
\code
{
f
}
, and
m
\code
{
.im
_
self
}
is
\code
{
None
}
. When
\code
{
x
}
is a
\code
{
C
}
instance,
\code
{
x.f
}
yields a bound method object
\code
{
m
}
where
m
\code
{
.im
_
class
}
is
\code
{
C
}
,
\code
{
m.im
_
func
tion
}
is
\code
{
f
}
, and
m
\code
{
.im
_
class
}
is
\code
{
C
}
,
\code
{
m.im
_
func
}
is
\code
{
f
}
, and
\code
{
m.im
_
self
}
is
\code
{
x
}
.
When an unbound user-defined method object is called, the underlying
...
...
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