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
547f2a97
Kaydet (Commit)
547f2a97
authored
Eyl 13, 2017
tarafından
Miss Islington (bot)
Kaydeden (comit)
Mariatta
Eyl 13, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[3.6] Mention enum as a potential use for metaclasses (GH-2982) (GH-3527)
(cherry picked from commit
b8d1b9d7
)
üst
5513e888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
datamodel.rst
Doc/reference/datamodel.rst
+2
-2
No files found.
Doc/reference/datamodel.rst
Dosyayı görüntüle @
547f2a97
...
@@ -1875,8 +1875,8 @@ Metaclass example
...
@@ -1875,8 +1875,8 @@ Metaclass example
^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
The potential uses for metaclasses are boundless. Some ideas that have been
The potential uses for metaclasses are boundless. Some ideas that have been
explored include
logging, interface checking, automatic delegation, automatic
explored include
enum, logging, interface checking, automatic delegation,
property creation, proxies, frameworks, and automatic resource
automatic
property creation, proxies, frameworks, and automatic resource
locking/synchronization.
locking/synchronization.
Here is an example of a metaclass that uses an :class:`collections.OrderedDict`
Here is an example of a metaclass that uses an :class:`collections.OrderedDict`
...
...
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