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
b762d585
Kaydet (Commit)
b762d585
authored
Şub 25, 2009
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More markup and spelling fixes.
üst
eb7cbb94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
functions.rst
Doc/library/functions.rst
+6
-6
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
b762d585
...
...
@@ -1198,9 +1198,9 @@ available. They are listed here in alphabetical order.
been overridden in a class. The search order is same as that used by
:func:`getattr` except that the *type* itself is skipped.
The
``__mro__`` attribute of the *type* lists the method resolution search
order used by both :func:`getattr` and :func:`super`. The attribue is
dynamic and can change whenever the inheritance hierarchy is updated.
The
:attr:`__mro__` attribute of the *type* lists the method resolution
search order used by both :func:`getattr` and :func:`super`. The attribute
is
dynamic and can change whenever the inheritance hierarchy is updated.
If the second argument is omitted, the super object returned is unbound. If
the second argument is an object, ``isinstance(obj, type)`` must be true. If
...
...
@@ -1210,10 +1210,10 @@ available. They are listed here in alphabetical order.
.. note::
:func:`super` only works for :term:`new-style class`\es.
There are two typical use cases for
"super"
. In a class hierarchy with
single inheritance,
"super"
can be used to refer to parent classes without
There are two typical use cases for
*super*
. In a class hierarchy with
single inheritance,
*super*
can be used to refer to parent classes without
naming them explicitly, thus making the code more maintainable. This use
closely parallels the use of
"super"
in other programming languages.
closely parallels the use of
*super*
in other programming languages.
The second use case is to support cooperative multiple inheritance in a
dynamic execution environment. This use case is unique to Python and is
...
...
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