Convert all print statements in the docs.
diff --git a/Doc/library/atexit.rst b/Doc/library/atexit.rst
index cb2199a..f6c76de 100644
--- a/Doc/library/atexit.rst
+++ b/Doc/library/atexit.rst
@@ -80,7 +80,7 @@
passed along to the registered function when it is called::
def goodbye(name, adjective):
- print 'Goodbye, %s, it was %s to meet you.' % (name, adjective)
+ print('Goodbye, %s, it was %s to meet you.' % (name, adjective))
import atexit
atexit.register(goodbye, 'Donny', 'nice')
@@ -94,7 +94,7 @@
@atexit.register
def goodbye():
- print "You are now leaving the Python sector."
+ print("You are now leaving the Python sector.")
This obviously only works with functions that don't take arguments.