summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorLouie Lu <git@louie.lu>2017-09-13 04:44:14 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-09-13 04:44:14 (GMT)
commitb8d1b9d7c697dd0401491b6d43047acbaf425f02 (patch)
tree96e7f25836790b54d1dc042a24242b35abf40185 /Doc/reference
parentea0f7c26cef4550bf4db1a9bae17d41b79ab7c0d (diff)
downloadcpython-b8d1b9d7c697dd0401491b6d43047acbaf425f02.zip
cpython-b8d1b9d7c697dd0401491b6d43047acbaf425f02.tar.gz
cpython-b8d1b9d7c697dd0401491b6d43047acbaf425f02.tar.bz2
Mention enum as an ex (#2982)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 5f932ae..31a7671 100644
--- a/Doc/reference/datamodel.rst
+++ b/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`