diff options
author | Larry Hastings <larry@hastings.org> | 2014-02-10 12:26:10 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-02-10 12:26:10 (GMT) |
commit | ad88d7a26bb0be55f2687ccf646f0af9f75913ba (patch) | |
tree | 400a418ba418b9574d6466bc18c4ef9eb266134b /Doc/library/enum.rst | |
parent | 8f9f0f12e845034080525c6a80d52215533cb2a4 (diff) | |
download | cpython-ad88d7a26bb0be55f2687ccf646f0af9f75913ba.zip cpython-ad88d7a26bb0be55f2687ccf646f0af9f75913ba.tar.gz cpython-ad88d7a26bb0be55f2687ccf646f0af9f75913ba.tar.bz2 |
Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r-- | Doc/library/enum.rst | 4 |
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:: |