]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add link to Enum class (GH-19884)
authorAndre Delfino <adelfino@gmail.com>
Sun, 10 May 2020 05:15:54 +0000 (02:15 -0300)
committerGitHub <noreply@github.com>
Sun, 10 May 2020 05:15:54 +0000 (10:45 +0530)
Doc/library/types.rst

index 1d081e2c54868d0e01a6f1732276527596a655e2..cdddb46783a47013b7412f5eeae78112bfb40171 100644 (file)
@@ -379,7 +379,7 @@ Additional Utility Classes and Functions
    class's __getattr__ method; this is done by raising AttributeError.
 
    This allows one to have properties active on an instance, and have virtual
-   attributes on the class with the same name (see Enum for an example).
+   attributes on the class with the same name (see :class:`enum.Enum` for an example).
 
    .. versionadded:: 3.4