Skip to content

Commit 7ef3a1e

Browse files
[3.12] gh-101100: Fix Sphinx nitpicks in library/shelve.rst (GH-112836) (#112868)
gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (GH-112836) (cherry picked from commit 3cdcc2e) Co-authored-by: Alex Waygood <[email protected]>
1 parent 46f86f5 commit 7ef3a1e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Doc/library/shelve.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,14 @@ Restrictions
149149

150150
.. class:: BsdDbShelf(dict, protocol=None, writeback=False, keyencoding='utf-8')
151151

152-
A subclass of :class:`Shelf` which exposes :meth:`first`, :meth:`!next`,
153-
:meth:`previous`, :meth:`last` and :meth:`set_location` which are available
154-
in the third-party :mod:`bsddb` module from `pybsddb
152+
A subclass of :class:`Shelf` which exposes :meth:`!first`, :meth:`!next`,
153+
:meth:`!previous`, :meth:`!last` and :meth:`!set_location` methods.
154+
These are available
155+
in the third-party :mod:`!bsddb` module from `pybsddb
155156
<https://www.jcea.es/programacion/pybsddb.htm>`_ but not in other database
156157
modules. The *dict* object passed to the constructor must support those
157158
methods. This is generally accomplished by calling one of
158-
:func:`bsddb.hashopen`, :func:`bsddb.btopen` or :func:`bsddb.rnopen`. The
159+
:func:`!bsddb.hashopen`, :func:`!bsddb.btopen` or :func:`!bsddb.rnopen`. The
159160
optional *protocol*, *writeback*, and *keyencoding* parameters have the same
160161
interpretation as for the :class:`Shelf` class.
161162

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ Doc/library/readline.rst
9797
Doc/library/resource.rst
9898
Doc/library/rlcompleter.rst
9999
Doc/library/select.rst
100-
Doc/library/shelve.rst
101100
Doc/library/signal.rst
102101
Doc/library/smtplib.rst
103102
Doc/library/socket.rst

0 commit comments

Comments
 (0)