]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (#112836)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Fri, 8 Dec 2023 12:31:11 +0000 (12:31 +0000)
committerGitHub <noreply@github.com>
Fri, 8 Dec 2023 12:31:11 +0000 (14:31 +0200)
Doc/library/shelve.rst
Doc/tools/.nitignore

index 219219af6fd87f166ec02ed9cc6828b8a6c4d5ea..88802d717d738387407b6ba3956d973523368582 100644 (file)
@@ -149,13 +149,14 @@ Restrictions
 
 .. class:: BsdDbShelf(dict, protocol=None, writeback=False, keyencoding='utf-8')
 
-   A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`!next`,
-   :meth:`previous`, :meth:`last` and :meth:`set_location` which are available
-   in the third-party :mod:`bsddb` module from `pybsddb
+   A subclass of :class:`Shelf` which exposes :meth:`!first`, :meth:`!next`,
+   :meth:`!previous`, :meth:`!last` and :meth:`!set_location` methods.
+   These are available
+   in the third-party :mod:`!bsddb` module from `pybsddb
    <https://www.jcea.es/programacion/pybsddb.htm>`_ but not in other database
    modules.  The *dict* object passed to the constructor must support those
    methods.  This is generally accomplished by calling one of
-   :func:`bsddb.hashopen`, :func:`bsddb.btopen` or :func:`bsddb.rnopen`.  The
+   :func:`!bsddb.hashopen`, :func:`!bsddb.btopen` or :func:`!bsddb.rnopen`.  The
    optional *protocol*, *writeback*, and *keyencoding* parameters have the same
    interpretation as for the :class:`Shelf` class.
 
index 8a033f019372f7f0bc4cbd82f46c7ad330f86ed4..18dddb26867837bc907b5e79f13c4db76082bb12 100644 (file)
@@ -86,7 +86,6 @@ Doc/library/readline.rst
 Doc/library/resource.rst
 Doc/library/rlcompleter.rst
 Doc/library/select.rst
-Doc/library/shelve.rst
 Doc/library/signal.rst
 Doc/library/smtplib.rst
 Doc/library/socket.rst