summaryrefslogtreecommitdiffstats
path: root/Doc/howto/enum.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-10-07 01:01:30 (GMT)
committerGitHub <noreply@github.com>2022-10-07 01:01:30 (GMT)
commitfa2d43e5184f5eaf3391844ec2400342a1b2ead4 (patch)
treefaa2f2ae684d96fd9bd81e5bc28a99bf96274254 /Doc/howto/enum.rst
parent27025e158c70331d0a8fb42fe234a2a6770850d1 (diff)
downloadcpython-fa2d43e5184f5eaf3391844ec2400342a1b2ead4.zip
cpython-fa2d43e5184f5eaf3391844ec2400342a1b2ead4.tar.gz
cpython-fa2d43e5184f5eaf3391844ec2400342a1b2ead4.tar.bz2
Docs: Fix backtick errors found by sphinx-lint (#97998)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Diffstat (limited to 'Doc/howto/enum.rst')
-rw-r--r--Doc/howto/enum.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst
index 376934a..03f0565 100644
--- a/Doc/howto/enum.rst
+++ b/Doc/howto/enum.rst
@@ -1109,7 +1109,7 @@ Enum Classes
The :class:`EnumType` metaclass is responsible for providing the
:meth:`__contains__`, :meth:`__dir__`, :meth:`__iter__` and other methods that
allow one to do things with an :class:`Enum` class that fail on a typical
-class, such as `list(Color)` or `some_enum_var in Color`. :class:`EnumType` is
+class, such as ``list(Color)`` or ``some_enum_var in Color``. :class:`EnumType` is
responsible for ensuring that various other methods on the final :class:`Enum`
class are correct (such as :meth:`__new__`, :meth:`__getnewargs__`,
:meth:`__str__` and :meth:`__repr__`).