diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-21 09:40:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 09:40:37 (GMT) |
commit | 4b9948617f91175783609769aa6160e5b49b9ccc (patch) | |
tree | 70ee26c5370423240516d52536ae9c23f64245c5 /Doc/library/unittest.mock.rst | |
parent | d036db728ea3d54509cbad06df74e2d9a31fbec8 (diff) | |
download | cpython-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.rst | 2 |
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 |