Remove all definitions of raw_input() that were still scattered throughout the docs
from the time where there was neither input() nor raw_input().
diff --git a/Doc/tutorial/stdlib2.rst b/Doc/tutorial/stdlib2.rst
index 17fb867..4e8d37e 100644
--- a/Doc/tutorial/stdlib2.rst
+++ b/Doc/tutorial/stdlib2.rst
@@ -104,16 +104,11 @@
renaming utility for a photo browser may elect to use percent signs for
placeholders such as the current date, image sequence number, or file format::
- >>> import time, os.path, sys
- >>> def raw_input(prompt):
- ... sys.stdout.write(prompt)
- ... sys.stdout.flush()
- ... return sys.stdin.readline()
- ...
+ >>> import time, os.path
>>> photofiles = ['img_1074.jpg', 'img_1076.jpg', 'img_1077.jpg']
>>> class BatchRename(Template):
... delimiter = '%'
- >>> fmt = raw_input('Enter rename style (%d-date %n-seqnum %f-format): ')
+ >>> fmt = input('Enter rename style (%d-date %n-seqnum %f-format): ')
Enter rename style (%d-date %n-seqnum %f-format): Ashley_%n%f
>>> t = BatchRename(fmt)