summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 09:40:37 (GMT)
committerGitHub <noreply@github.com>2023-07-21 09:40:37 (GMT)
commit4b9948617f91175783609769aa6160e5b49b9ccc (patch)
tree70ee26c5370423240516d52536ae9c23f64245c5 /Doc/library/unittest.mock.rst
parentd036db728ea3d54509cbad06df74e2d9a31fbec8 (diff)
downloadcpython-4b9948617f91175783609769aa6160e5b49b9ccc.zip
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.gz
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.bz2
gh-106909: Use role :const: for referencing module constants (GH-106910)
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r--Doc/library/unittest.mock.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index 6d5f17d..836fd42 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -2485,7 +2485,7 @@ behaviour you can switch it off by setting the module level switch
Alternatively you can just use ``vars(my_mock)`` (instance members) and
``dir(type(my_mock))`` (type members) to bypass the filtering irrespective of
-:data:`mock.FILTER_DIR`.
+:const:`mock.FILTER_DIR`.
mock_open