Since we recommend one module per import line, reflect this also in the
documentation.
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 30f1fea..572c566 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -481,7 +481,9 @@
 This example connects to an SSL server, prints the server's address and certificate,
 sends some bytes, and reads part of the response::
 
-   import socket, ssl, pprint
+   import pprint
+   import socket
+   import ssl
 
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
@@ -535,7 +537,8 @@
 You'd open a socket, bind it to a port, call :meth:`listen` on it, then start waiting for clients
 to connect::
 
-   import socket, ssl
+   import socket
+   import ssl
 
    bindsocket = socket.socket()
    bindsocket.bind(('myaddr.mydomain.com', 10023))