Skip to content

Commit 3cdcc2e

Browse files
authored
gh-101100: Fix Sphinx nitpicks in library/shelve.rst (#112836)
1 parent aefdebd commit 3cdcc2e

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
@@ -86,7 +86,6 @@ Doc/library/readline.rst
8686
Doc/library/resource.rst
8787
Doc/library/rlcompleter.rst
8888
Doc/library/select.rst
89-
Doc/library/shelve.rst
9089
Doc/library/signal.rst
9190
Doc/library/smtplib.rst
9291
Doc/library/socket.rst

0 commit comments

Comments
 (0)