diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-08 19:55:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 19:55:13 (GMT) |
commit | 530c3bb271d85e7700f627c5d64089d270286dfa (patch) | |
tree | 23c5200c130874f8d0e6c786f4fce6b303039909 /Doc/library/multiprocessing.rst | |
parent | b83b3cb9daf19560a171867b42d412a72b2bc4f5 (diff) | |
download | cpython-530c3bb271d85e7700f627c5d64089d270286dfa.zip cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.gz cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.bz2 |
[3.12] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118794)
(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4)
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index c9ed215..d6474ef 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -2472,9 +2472,9 @@ multiple connections at the same time. generally be omitted since it can usually be inferred from the format of *address*. (See :ref:`multiprocessing-address-formats`) - If *authkey* is given and not None, it should be a byte string and will be + If *authkey* is given and not ``None``, it should be a byte string and will be used as the secret key for an HMAC-based authentication challenge. No - authentication is done if *authkey* is None. + authentication is done if *authkey* is ``None``. :exc:`~multiprocessing.AuthenticationError` is raised if authentication fails. See :ref:`multiprocessing-auth-keys`. @@ -2507,9 +2507,9 @@ multiple connections at the same time. to the :meth:`~socket.socket.listen` method of the socket once it has been bound. - If *authkey* is given and not None, it should be a byte string and will be + If *authkey* is given and not ``None``, it should be a byte string and will be used as the secret key for an HMAC-based authentication challenge. No - authentication is done if *authkey* is None. + authentication is done if *authkey* is ``None``. :exc:`~multiprocessing.AuthenticationError` is raised if authentication fails. See :ref:`multiprocessing-auth-keys`. |