mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
[3.13] gh-101100: Fix sphinx warnings in whatsnew/3.9
(GH-136163) (#136373)
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Co-authored-by: sobolevn <mail@sobolevn.me>
This commit is contained in:
parent
4f24dc0ea8
commit
d7bb308e80
3 changed files with 10 additions and 6 deletions
|
@ -447,6 +447,11 @@ Alternative Generator
|
||||||
Override this method in subclasses to customise the
|
Override this method in subclasses to customise the
|
||||||
:meth:`~random.getrandbits` behaviour of :class:`!Random` instances.
|
:meth:`~random.getrandbits` behaviour of :class:`!Random` instances.
|
||||||
|
|
||||||
|
.. method:: Random.randbytes(n)
|
||||||
|
|
||||||
|
Override this method in subclasses to customise the
|
||||||
|
:meth:`~random.randbytes` behaviour of :class:`!Random` instances.
|
||||||
|
|
||||||
|
|
||||||
.. class:: SystemRandom([seed])
|
.. class:: SystemRandom([seed])
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,5 @@ Doc/whatsnew/3.5.rst
|
||||||
Doc/whatsnew/3.6.rst
|
Doc/whatsnew/3.6.rst
|
||||||
Doc/whatsnew/3.7.rst
|
Doc/whatsnew/3.7.rst
|
||||||
Doc/whatsnew/3.8.rst
|
Doc/whatsnew/3.8.rst
|
||||||
Doc/whatsnew/3.9.rst
|
|
||||||
Doc/whatsnew/3.10.rst
|
Doc/whatsnew/3.10.rst
|
||||||
Doc/whatsnew/3.11.rst
|
Doc/whatsnew/3.11.rst
|
||||||
|
|
|
@ -423,8 +423,8 @@ digests. It skips MD5 on platforms that block MD5 digest.
|
||||||
fcntl
|
fcntl
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Added constants :const:`~fcntl.F_OFD_GETLK`, :const:`~fcntl.F_OFD_SETLK`
|
Added constants :const:`!fcntl.F_OFD_GETLK`, :const:`!fcntl.F_OFD_SETLK`
|
||||||
and :const:`~fcntl.F_OFD_SETLKW`.
|
and :const:`!fcntl.F_OFD_SETLKW`.
|
||||||
(Contributed by Donghee Na in :issue:`38602`.)
|
(Contributed by Donghee Na in :issue:`38602`.)
|
||||||
|
|
||||||
ftplib
|
ftplib
|
||||||
|
@ -644,7 +644,7 @@ attribute.
|
||||||
random
|
random
|
||||||
------
|
------
|
||||||
|
|
||||||
Added a new :attr:`random.Random.randbytes` method: generate random bytes.
|
Added a new :meth:`random.Random.randbytes` method: generate random bytes.
|
||||||
(Contributed by Victor Stinner in :issue:`40286`.)
|
(Contributed by Victor Stinner in :issue:`40286`.)
|
||||||
|
|
||||||
signal
|
signal
|
||||||
|
@ -776,7 +776,7 @@ Optimizations
|
||||||
:pep:`590` vectorcall protocol.
|
:pep:`590` vectorcall protocol.
|
||||||
(Contributed by Donghee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)
|
(Contributed by Donghee Na, Mark Shannon, Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)
|
||||||
|
|
||||||
* Optimized :func:`~set.difference_update` for the case when the other set
|
* Optimized :meth:`!set.difference_update` for the case when the other set
|
||||||
is much larger than the base set.
|
is much larger than the base set.
|
||||||
(Suggested by Evgeny Kapun with code contributed by Michele Orrù in :issue:`8425`.)
|
(Suggested by Evgeny Kapun with code contributed by Michele Orrù in :issue:`8425`.)
|
||||||
|
|
||||||
|
@ -1139,7 +1139,7 @@ Changes in the Python API
|
||||||
(Contributed by Christian Heimes in :issue:`36384`).
|
(Contributed by Christian Heimes in :issue:`36384`).
|
||||||
|
|
||||||
* :func:`codecs.lookup` now normalizes the encoding name the same way as
|
* :func:`codecs.lookup` now normalizes the encoding name the same way as
|
||||||
:func:`encodings.normalize_encoding`, except that :func:`codecs.lookup` also
|
:func:`!encodings.normalize_encoding`, except that :func:`codecs.lookup` also
|
||||||
converts the name to lower case. For example, ``"latex+latin1"`` encoding
|
converts the name to lower case. For example, ``"latex+latin1"`` encoding
|
||||||
name is now normalized to ``"latex_latin1"``.
|
name is now normalized to ``"latex_latin1"``.
|
||||||
(Contributed by Jordon Xu in :issue:`37751`.)
|
(Contributed by Jordon Xu in :issue:`37751`.)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue