Convert all print statements in the docs.
diff --git a/Doc/library/getopt.rst b/Doc/library/getopt.rst
index 7ead8ea..b7220a5 100644
--- a/Doc/library/getopt.rst
+++ b/Doc/library/getopt.rst
@@ -112,7 +112,7 @@
            opts, args = getopt.getopt(sys.argv[1:], "ho:v", ["help", "output="])
        except getopt.GetoptError as err:
            # print help information and exit:
-           print str(err) # will print something like "option -a not recognized"
+           print(err) # will print something like "option -a not recognized"
            usage()
            sys.exit(2)
        output = None