summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorBill Janssen <janssen@parc.com>2007-08-31 19:02:46 (GMT)
committerBill Janssen <janssen@parc.com>2007-08-31 19:02:46 (GMT)
commit910fa59595196a247c3fac792b78c48d9a73abe3 (patch)
tree8fff77b4742bedb24b921121fd80170a9c5a24d2 /Lib/imaplib.py
parentc459264f5b271fa32574621cc0a5a7af750f453b (diff)
downloadcpython-910fa59595196a247c3fac792b78c48d9a73abe3.zip
cpython-910fa59595196a247c3fac792b78c48d9a73abe3.tar.gz
cpython-910fa59595196a247c3fac792b78c48d9a73abe3.tar.bz2
remove mentions of socket.ssl in comments
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 8ca9358..5a7adf4 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -1165,7 +1165,6 @@ else:
def readline(self):
"""Read line from remote."""
- # NB: socket.ssl needs a "readline" method, or perhaps a "makefile" method.
line = []
while 1:
char = self.sslobj.read(1)
@@ -1175,7 +1174,6 @@ else:
def send(self, data):
"""Send data to remote."""
- # NB: socket.ssl needs a "sendall" method to match socket objects.
bytes = len(data)
while bytes > 0:
sent = self.sslobj.write(data)
@@ -1201,7 +1199,7 @@ else:
def ssl(self):
"""Return SSLObject instance used to communicate with the IMAP4 server.
- ssl = <instance>.socket.ssl()
+ ssl = ssl.sslsocket(<instance>.socket)
"""
return self.sslobj