https://github.com/python/cpython/commit/4326e07a8b02b090291a58646231a519da60d6ae commit: 4326e07a8b02b090291a58646231a519da60d6ae branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2024-03-24T10:09:08Z summary:
[3.12] gh-101760: Improve the imaplib.IMAP4 example (GH-101764) (#117191) Co-authored-by: LilKS <[email protected]> Co-authored-by: Adam Turner <[email protected]> files: M Doc/library/imaplib.rst diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst index 1f774e64b0eae3..b16275fc148a53 100644 --- a/Doc/library/imaplib.rst +++ b/Doc/library/imaplib.rst @@ -622,7 +622,7 @@ retrieves and prints all messages:: import getpass, imaplib - M = imaplib.IMAP4() + M = imaplib.IMAP4(host='example.org') M.login(getpass.getuser(), getpass.getpass()) M.select() typ, data = M.search(None, 'ALL') _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
