]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-101100: Fix Sphinx warnings in `library/bisect.rst` (GH-113496) (#113505)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Tue, 26 Dec 2023 21:54:07 +0000 (23:54 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Dec 2023 21:54:07 +0000 (14:54 -0700)
Doc/library/bisect.rst
Doc/tools/.nitignore

index d4abd7a6313dfd46d1cd0cd99272948b506f9f22..75d16dc3e1021c33ea6e0bc972eed09a451ddf7e 100644 (file)
@@ -73,7 +73,7 @@ The following functions are provided:
    Insert *x* in *a* in sorted order.
 
    This function first runs :py:func:`~bisect.bisect_left` to locate an insertion point.
-   Next, it runs the :meth:`insert` method on *a* to insert *x* at the
+   Next, it runs the :meth:`!insert` method on *a* to insert *x* at the
    appropriate position to maintain sort order.
 
    To support inserting records in a table, the *key* function (if any) is
@@ -93,7 +93,7 @@ The following functions are provided:
    entries of *x*.
 
    This function first runs :py:func:`~bisect.bisect_right` to locate an insertion point.
-   Next, it runs the :meth:`insert` method on *a* to insert *x* at the
+   Next, it runs the :meth:`!insert` method on *a* to insert *x* at the
    appropriate position to maintain sort order.
 
    To support inserting records in a table, the *key* function (if any) is
index 892ead429ec1c2acbe1ccbfdc5861c5df7a31cf6..98d915fb1d6cf73bd130b5c77d6dec56f6420508 100644 (file)
@@ -31,7 +31,6 @@ Doc/library/asyncio-policy.rst
 Doc/library/asyncio-subprocess.rst
 Doc/library/asyncio-task.rst
 Doc/library/bdb.rst
-Doc/library/bisect.rst
 Doc/library/calendar.rst
 Doc/library/cmd.rst
 Doc/library/collections.rst