Skip to content

Commit 117ba13

Browse files
committed
gh-101100: Fix sphinx warnings in whatsnew/3.9
1 parent 23caccf commit 117ba13

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Doc/tools/.nitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,3 @@ Doc/whatsnew/3.5.rst
7373
Doc/whatsnew/3.6.rst
7474
Doc/whatsnew/3.7.rst
7575
Doc/whatsnew/3.8.rst
76-
Doc/whatsnew/3.9.rst
77-
Doc/whatsnew/3.10.rst
78-
Doc/whatsnew/3.11.rst

Doc/whatsnew/3.9.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ digests. It skips MD5 on platforms that block MD5 digest.
423423
fcntl
424424
-----
425425

426-
Added constants :const:`~fcntl.F_OFD_GETLK`, :const:`~fcntl.F_OFD_SETLK`
427-
and :const:`~fcntl.F_OFD_SETLKW`.
426+
Added constants :const:`!fcntl.F_OFD_GETLK`, :const:`!fcntl.F_OFD_SETLK`
427+
and :const:`!fcntl.F_OFD_SETLKW`.
428428
(Contributed by Donghee Na in :issue:`38602`.)
429429

430430
ftplib
@@ -644,7 +644,7 @@ attribute.
644644
random
645645
------
646646

647-
Added a new :attr:`random.Random.randbytes` method: generate random bytes.
647+
Added a new :meth:`random.Random.randbytes` method: generate random bytes.
648648
(Contributed by Victor Stinner in :issue:`40286`.)
649649

650650
signal
@@ -776,7 +776,7 @@ Optimizations
776776
:pep:`590` vectorcall protocol.
777777
(Contributed by Donghee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)
778778

779-
* Optimized :func:`~set.difference_update` for the case when the other set
779+
* Optimized :meth:`~set.difference_update` for the case when the other set
780780
is much larger than the base set.
781781
(Suggested by Evgeny Kapun with code contributed by Michele Orrù in :issue:`8425`.)
782782

@@ -1139,7 +1139,7 @@ Changes in the Python API
11391139
(Contributed by Christian Heimes in :issue:`36384`).
11401140

11411141
* :func:`codecs.lookup` now normalizes the encoding name the same way as
1142-
:func:`encodings.normalize_encoding`, except that :func:`codecs.lookup` also
1142+
:func:`!encodings.normalize_encoding`, except that :func:`codecs.lookup` also
11431143
converts the name to lower case. For example, ``"latex+latin1"`` encoding
11441144
name is now normalized to ``"latex_latin1"``.
11451145
(Contributed by Jordon Xu in :issue:`37751`.)

0 commit comments

Comments
 (0)