Convert all print statements in the docs.
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index 61b90a8..3173f35 100644
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -317,7 +317,7 @@
fromaddr = prompt("From: ")
toaddrs = prompt("To: ").split()
- print "Enter message, end with ^D (Unix) or ^Z (Windows):"
+ print("Enter message, end with ^D (Unix) or ^Z (Windows):")
# Add the From: and To: headers at the start!
msg = ("From: %s\r\nTo: %s\r\n\r\n"
@@ -331,7 +331,7 @@
break
msg = msg + line
- print "Message length is " + repr(len(msg))
+ print("Message length is", len(msg))
server = smtplib.SMTP('localhost')
server.set_debuglevel(1)