summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-04-18 02:40:47 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-04-18 02:40:47 (GMT)
commitaea8d2e8cd4c0e2960b2a95e3de30e1a162d5573 (patch)
tree06e685434b895e176466639623b08e897f5bd4d7 /Doc
parente2e031394c09769873a898ab341cf3287dfd0154 (diff)
downloadcpython-aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573.zip
cpython-aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573.tar.gz
cpython-aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573.tar.bz2
Use correct parameter name
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ssl.rst2
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)::