mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
Use correct parameter name
This commit is contained in:
parent
e2e031394c
commit
aea8d2e8cd
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ end, and use :func:`wrap_socket` to create a server-side SSL context for it::
|
|||
server_side=True,
|
||||
certfile="mycertfile",
|
||||
keyfile="mykeyfile",
|
||||
ssl_protocol=ssl.PROTOCOL_TLSv1)
|
||||
ssl_version=ssl.PROTOCOL_TLSv1)
|
||||
deal_with_client(connstream)
|
||||
|
||||
Then you'd read data from the ``connstream`` and do something with it till you are finished with the client (or the client is finished with you)::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue