https://github.com/python/cpython/commit/7dfde8423c3de8edafe0974f4a84d8b18d64f4ab
commit: 7dfde8423c3de8edafe0974f4a84d8b18d64f4ab
branch: 3.11
author: Terry Jan Reedy <[email protected]>
committer: terryjreedy <[email protected]>
date: 2024-03-03T20:32:56Z
summary:

[3.11] gh-116281: Remove wrong '\' from '\*' in some doc signatures (GH-116282) 
(#116289)

gh-116281: Remove wrong '\' from '\*' in some doc signatures (#116282)

(cherry picked from commit 4859ecb8609b51e2f6b8fb1b295e9ee0f83e1be6)

Co-authored-by: HarryLHW [email protected]

files:
M Doc/library/asyncio-stream.rst
M Doc/library/hashlib.rst

diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst
index 20739ca4f19221..4262fe1eca2857 100644
--- a/Doc/library/asyncio-stream.rst
+++ b/Doc/library/asyncio-stream.rst
@@ -347,7 +347,7 @@ StreamWriter
       be resumed.  When there is nothing to wait for, the :meth:`drain`
       returns immediately.
 
-   .. coroutinemethod:: start_tls(sslcontext, \*, server_hostname=None, \
+   .. coroutinemethod:: start_tls(sslcontext, *, server_hostname=None, \
                           ssl_handshake_timeout=None)
 
       Upgrade an existing stream-based connection to TLS.
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 957d51978d6d59..45f911ca58373d 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -116,7 +116,7 @@ More condensed:
 Constructors
 ------------
 
-.. function:: new(name[, data], \*, usedforsecurity=True)
+.. function:: new(name[, data], *, usedforsecurity=True)
 
    Is a generic constructor that takes the string *name* of the desired
    algorithm as its first parameter.  It also exists to allow access to the

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to