https://github.com/python/cpython/commit/5d122300950b30ee0aa65ebd72d44ee415802483 commit: 5d122300950b30ee0aa65ebd72d44ee415802483 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2024-03-24T10:07:37Z summary:
[3.11] gh-101760: Improve the imaplib.IMAP4 example (GH-101764) (#117192) 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 594c6b1a3803a8..6059a140861b8c 100644 --- a/Doc/library/imaplib.rst +++ b/Doc/library/imaplib.rst @@ -632,7 +632,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]
