mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[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:
parent
8bfbeeb0a1
commit
7dfde8423c
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue