revert r69777 since all the experts agree that extra import lines distract from the code
diff --git a/Doc/library/imaplib.rst b/Doc/library/imaplib.rst
index e0b824e..e18d7d5 100644
--- a/Doc/library/imaplib.rst
+++ b/Doc/library/imaplib.rst
@@ -521,8 +521,7 @@
 Here is a minimal example (without error checking) that opens a mailbox and
 retrieves and prints all messages::
 
-   import getpass
-   import imaplib
+   import getpass, imaplib
 
    M = imaplib.IMAP4()
    M.login(getpass.getuser(), getpass.getpass())