summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiers Lauder <piers@cs.su.oz.au>2002-03-08 09:05:12 (GMT)
committerPiers Lauder <piers@cs.su.oz.au>2002-03-08 09:05:12 (GMT)
commit95f8495de81c43ddad62638368736ce33db4c88a (patch)
treebf04a7fdfeb819311c28437705fee640f5cb93a2
parentc9ffa068d1d1dc93f620994a532f219a4be08385 (diff)
downloadcpython-95f8495de81c43ddad62638368736ce33db4c88a.zip
cpython-95f8495de81c43ddad62638368736ce33db4c88a.tar.gz
cpython-95f8495de81c43ddad62638368736ce33db4c88a.tar.bz2
fixed missing IMAP4_SSL_PORT
-rw-r--r--Lib/imaplib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 4a9200b..266acb6 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -29,6 +29,7 @@ __all__ = ["IMAP4", "Internaldate2tuple",
CRLF = '\r\n'
Debug = 0
IMAP4_PORT = 143
+IMAP4_SSL_PORT = 993
AllowedVersions = ('IMAP4REV1', 'IMAP4') # Most recent first
# Commands
@@ -987,7 +988,7 @@ class IMAP4_SSL(IMAP4):
"""IMAP4 client class over SSL connection
- Instantiate with: IMAP4_SSL([, host[, port[, keyfile[, certfile]]]])
+ Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile]]]])
host - host's name (default: localhost);
port - port number (default: standard IMAP4 SSL port).