Mention enum as an ex (#2982)

This commit is contained in:
Louie Lu 2017-09-13 12:44:14 +08:00 committed by Mariatta
parent ea0f7c26ce
commit b8d1b9d7c6
1 changed files with 2 additions and 2 deletions

View File

@ -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`