[Python-checkins] r57855 - python/trunk/Lib/imaplib.py
bill.janssen
python-checkins at python.org
Fri Aug 31 21:02:47 CEST 2007
Author: bill.janssen
Date: Fri Aug 31 21:02:46 2007
New Revision: 57855
Modified:
python/trunk/Lib/imaplib.py
Log:
remove mentions of socket.ssl in comments
Modified: python/trunk/Lib/imaplib.py
==============================================================================
--- python/trunk/Lib/imaplib.py (original)
+++ python/trunk/Lib/imaplib.py Fri Aug 31 21:02:46 2007
@@ -1165,7 +1165,6 @@
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 @@
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 @@
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
More information about the Python-checkins
mailing list