diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2008-04-18 02:40:47 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2008-04-18 02:40:47 (GMT) |
commit | aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573 (patch) | |
tree | 06e685434b895e176466639623b08e897f5bd4d7 /Doc | |
parent | e2e031394c09769873a898ab341cf3287dfd0154 (diff) | |
download | cpython-aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573.zip cpython-aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573.tar.gz cpython-aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573.tar.bz2 |
Use correct parameter name
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/ssl.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index bd16ca9..fb41091 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -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):: |