Skip to content

Commit 7dfde84

Browse files
authored
[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 4859ecb) Co-authored-by: HarryLHW [email protected]
1 parent 8bfbeeb commit 7dfde84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/asyncio-stream.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ StreamWriter
347347
be resumed. When there is nothing to wait for, the :meth:`drain`
348348
returns immediately.
349349

350-
.. coroutinemethod:: start_tls(sslcontext, \*, server_hostname=None, \
350+
.. coroutinemethod:: start_tls(sslcontext, *, server_hostname=None, \
351351
ssl_handshake_timeout=None)
352352

353353
Upgrade an existing stream-based connection to TLS.

Doc/library/hashlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ More condensed:
116116
Constructors
117117
------------
118118

119-
.. function:: new(name[, data], \*, usedforsecurity=True)
119+
.. function:: new(name[, data], *, usedforsecurity=True)
120120

121121
Is a generic constructor that takes the string *name* of the desired
122122
algorithm as its first parameter. It also exists to allow access to the

0 commit comments

Comments
 (0)