diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-29 20:53:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 20:53:51 (GMT) |
commit | 240e5f613b40e8c24fddbec23351ca45d1fda8bf (patch) | |
tree | a822bf4a021d1b8452f452aeae40dbc7395871ef /Doc/library/unittest.mock.rst | |
parent | d49fdc8d16ed4e188ff38434bab78f265215f0f3 (diff) | |
download | cpython-240e5f613b40e8c24fddbec23351ca45d1fda8bf.zip cpython-240e5f613b40e8c24fddbec23351ca45d1fda8bf.tar.gz cpython-240e5f613b40e8c24fddbec23351ca45d1fda8bf.tar.bz2 |
[3.12] Docs: mark up NotImplemented using the :data: role throughout the docs (GH-116135) (#116147)
(cherry picked from commit dbe44f150cd161bd327ed662e527a4c93829fb3e)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r-- | Doc/library/unittest.mock.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index cb9e720..478c4e2 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -2094,10 +2094,10 @@ to change the default. Methods and their defaults: -* ``__lt__``: ``NotImplemented`` -* ``__gt__``: ``NotImplemented`` -* ``__le__``: ``NotImplemented`` -* ``__ge__``: ``NotImplemented`` +* ``__lt__``: :data:`NotImplemented` +* ``__gt__``: :data:`!NotImplemented` +* ``__le__``: :data:`!NotImplemented` +* ``__ge__``: :data:`!NotImplemented` * ``__int__``: ``1`` * ``__contains__``: ``False`` * ``__len__``: ``0`` |