mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
fixed missing IMAP4_SSL_PORT
This commit is contained in:
parent
c9ffa068d1
commit
95f8495de8
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ __all__ = ["IMAP4", "Internaldate2tuple",
|
||||||
CRLF = '\r\n'
|
CRLF = '\r\n'
|
||||||
Debug = 0
|
Debug = 0
|
||||||
IMAP4_PORT = 143
|
IMAP4_PORT = 143
|
||||||
|
IMAP4_SSL_PORT = 993
|
||||||
AllowedVersions = ('IMAP4REV1', 'IMAP4') # Most recent first
|
AllowedVersions = ('IMAP4REV1', 'IMAP4') # Most recent first
|
||||||
|
|
||||||
# Commands
|
# Commands
|
||||||
|
@ -987,7 +988,7 @@ class IMAP4_SSL(IMAP4):
|
||||||
|
|
||||||
"""IMAP4 client class over SSL connection
|
"""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);
|
host - host's name (default: localhost);
|
||||||
port - port number (default: standard IMAP4 SSL port).
|
port - port number (default: standard IMAP4 SSL port).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue