summaryrefslogtreecommitdiffstats
path: root/Doc/howto/enum.rst
diff options
context:
space:
mode:
authorWei-Hsiang (Matt) Wang <mattwang44@gmail.com>2024-08-30 11:34:09 (GMT)
committerGitHub <noreply@github.com>2024-08-30 11:34:09 (GMT)
commit103a0470e31d80d56097f57a27d97d7d2d3c9fbb (patch)
tree52f32100a42617bf120a8bdb8d3aa193dc35ae8d /Doc/howto/enum.rst
parent8aaf7525ab839c32966ee862363ad2543a721306 (diff)
downloadcpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.zip
cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.tar.gz
cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.tar.bz2
gh-123492: Remove unnecessary `:func:` parentheses (#123493)
Diffstat (limited to 'Doc/howto/enum.rst')
-rw-r--r--Doc/howto/enum.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst
index 18e13fc..f406873 100644
--- a/Doc/howto/enum.rst
+++ b/Doc/howto/enum.rst
@@ -9,7 +9,7 @@ Enum HOWTO
.. currentmodule:: enum
An :class:`Enum` is a set of symbolic names bound to unique values. They are
-similar to global variables, but they offer a more useful :func:`repr()`,
+similar to global variables, but they offer a more useful :func:`repr`,
grouping, type-safety, and a few other features.
They are most useful when you have a variable that can take one of a limited
@@ -167,7 +167,7 @@ And a function to display the chores for a given day::
answer SO questions
In cases where the actual values of the members do not matter, you can save
-yourself some work and use :func:`auto()` for the values::
+yourself some work and use :func:`auto` for the values::
>>> from enum import auto
>>> class Weekday(Flag):