[Python-checkins] Mention enum as an ex (#2982)
Mariatta
webhook-mailer at python.org
Wed Sep 13 00:44:16 EDT 2017
https://github.com/python/cpython/commit/b8d1b9d7c697dd0401491b6d43047acbaf425f02
commit: b8d1b9d7c697dd0401491b6d43047acbaf425f02
branch: master
author: Louie Lu <git at louie.lu>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2017年09月12日T21:44:14-07:00
summary:
Mention enum as an ex (#2982)
files:
M Doc/reference/datamodel.rst
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 5f932ae0de7..31a7671f55f 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`
More information about the Python-checkins
mailing list