Skip to content

Commit 547f2a9

Browse files
miss-islingtonMariatta
authored andcommitted
[3.6] Mention enum as a potential use for metaclasses (GH-2982) (GH-3527)
(cherry picked from commit b8d1b9d)
1 parent 5513e88 commit 547f2a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/datamodel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,8 +1875,8 @@ Metaclass example
18751875
^^^^^^^^^^^^^^^^^
18761876

18771877
The potential uses for metaclasses are boundless. Some ideas that have been
1878-
explored include logging, interface checking, automatic delegation, automatic
1879-
property creation, proxies, frameworks, and automatic resource
1878+
explored include enum, logging, interface checking, automatic delegation,
1879+
automatic property creation, proxies, frameworks, and automatic resource
18801880
locking/synchronization.
18811881

18821882
Here is an example of a metaclass that uses an :class:`collections.OrderedDict`

0 commit comments

Comments
 (0)