From: Terry Jan Reedy Date: Sun, 3 Mar 2024 20:32:56 +0000 (-0500) Subject: [3.11] gh-116281: Remove wrong '\' from '\*' in some doc signatures (GH-116282) ... X-Git-Tag: v3.11.9~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dfde8423c3de8edafe0974f4a84d8b18d64f4ab;p=thirdparty%2FPython%2Fcpython.git [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 123lhw321@gmail.com --- diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 20739ca4f192..4262fe1eca28 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 957d51978d6d..45f911ca5837 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