From 41df03401b0a7af8c41cefce5a782b7aae925193 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 3 Mar 2024 15:14:25 -0500 Subject: [PATCH] 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 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