[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 4859ecb860)

Co-authored-by: HarryLHW 123lhw321@gmail.com
This commit is contained in:
Terry Jan Reedy 2024-03-03 15:32:56 -05:00 committed by GitHub
parent 8bfbeeb0a1
commit 7dfde8423c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View 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.

View 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