From 7dfde8423c3de8edafe0974f4a84d8b18d64f4ab Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 3 Mar 2024 15:32:56 -0500 Subject: [PATCH] [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 --- Doc/library/asyncio-stream.rst | 2 +- Doc/library/hashlib.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3