summaryrefslogtreecommitdiffstats
path: root/Doc/library/enum.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r--Doc/library/enum.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 7f800e3..bce4966 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -30,7 +30,7 @@ one decorator, :func:`unique`.
.. class:: Enum
Base class for creating enumerated constants. See section
- :ref:`Functional API` for an alternate construction syntax.
+ `Functional API`_ for an alternate construction syntax.
.. class:: IntEnum
@@ -421,7 +421,7 @@ The solution is to specify the module name explicitly as follows::
>>> Animals = Enum('Animals', 'ant bee cat dog', module=__name__)
The new pickle protocol 4 also, in some circumstances, relies on
-:attr:``__qualname__`` being set to the location where pickle will be able
+:attr:`__qualname__` being set to the location where pickle will be able
to find the class. For example, if the class was made available in class
SomeData in the global scope::