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
09bc6421
Kaydet (Commit)
09bc6421
authored
Ara 16, 2012
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixup abc.ABC wording and add versionadded.
üst
0bb8d8c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
abc.rst
Doc/library/abc.rst
+8
-5
No files found.
Doc/library/abc.rst
Dosyayı görüntüle @
09bc6421
...
...
@@ -129,13 +129,16 @@ This module provides the following classes:
.. class:: ABC
A helper class that has :class:`ABCMeta` as
metaclass. :class:`ABC` is the
standard class to inherit from in order to create an abstract base class
,
A helper class that has :class:`ABCMeta` as
its metaclass. With this class,
an abstract base class can be created by simply deriving from :class:`ABC`
,
avoiding sometimes confusing metaclass usage.
Note that :class:`ABC` type is still :class:`ABCMeta`, therefore inheriting
from :class:`ABC` requires usual precautions regarding metaclasses usage
as multiple inheritance may lead to metaclass conflicts.
Note that the type of :class:`ABC` is still :class:`ABCMeta`, therefore
inheriting from :class:`ABC` requires the usual precautions regarding metaclass
usage, as multiple inheritance may lead to metaclass conflicts.
.. versionadded:: 3.4
The :mod:`abc` module also provides the following decorators:
...
...
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