]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-116281: Remove wrong '\' from '\*' in some doc signatures (GH-116282) ...
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 3 Mar 2024 20:32:56 +0000 (15:32 -0500)
committerGitHub <noreply@github.com>
Sun, 3 Mar 2024 20:32:56 +0000 (20:32 +0000)
gh-116281: Remove wrong '\' from '\*' in some doc signatures (#116282)

(cherry picked from commit 4859ecb8609b51e2f6b8fb1b295e9ee0f83e1be6)

Co-authored-by: HarryLHW 123lhw321@gmail.com
Doc/library/asyncio-stream.rst
Doc/library/hashlib.rst

index 20739ca4f192210ad419d3ea38c89e05e4ff7b7c..4262fe1eca285707500a82b5c469a3c1c90106c4 100644 (file)
@@ -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.
index 957d51978d6d599f483699a328e2c400b89d1541..45f911ca58373d3ae4a52f0b1a744360ee2075ba 100644 (file)
@@ -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