summaryrefslogtreecommitdiff
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorPiers Lauder <piers@cs.su.oz.au>2002-03-08 09:05:12 +0000
committerPiers Lauder <piers@cs.su.oz.au>2002-03-08 09:05:12 +0000
commit95f8495de81c43ddad62638368736ce33db4c88a (patch)
treebf04a7fdfeb819311c28437705fee640f5cb93a2 /Lib/imaplib.py
parentc9ffa068d1d1dc93f620994a532f219a4be08385 (diff)
downloadcpython-git-95f8495de81c43ddad62638368736ce33db4c88a.tar.gz
fixed missing IMAP4_SSL_PORT
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 4a9200bedd..266acb668d 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).