Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4326e07

Browse filesBrowse files
miss-islingtonLilKSAA-Turner
authored
[3.12] gh-101760: Improve the imaplib.IMAP4 example (GH-101764) (#117191)
Co-authored-by: LilKS <1244886+LilKS@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 1d0e22e commit 4326e07
Copy full SHA for 4326e07

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Doc/library/imaplib.rst

Copy file name to clipboardExpand all lines: Doc/library/imaplib.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ retrieves and prints all messages::
622622

623623
import getpass, imaplib
624624

625-
M = imaplib.IMAP4()
625+
M = imaplib.IMAP4(host='example.org')
626626
M.login(getpass.getuser(), getpass.getpass())
627627
M.select()
628628
typ, data = M.search(None, 'ALL')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.