Browse Source

Mention enum as an ex (#2982)

pull/3528/head
Louie Lu 9 years ago
committed by Mariatta
parent
commit
b8d1b9d7c6
  1. 4
      Doc/reference/datamodel.rst

4
Doc/reference/datamodel.rst

@ -1896,8 +1896,8 @@ Metaclass example
^^^^^^^^^^^^^^^^^
The potential uses for metaclasses are boundless. Some ideas that have been
explored include logging, interface checking, automatic delegation, automatic
property creation, proxies, frameworks, and automatic resource
explored include enum, logging, interface checking, automatic delegation,
automatic property creation, proxies, frameworks, and automatic resource
locking/synchronization.
Here is an example of a metaclass that uses an :class:`collections.OrderedDict`

Loading…
Cancel
Save