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/library/telnetlib.rst b/Doc/library/telnetlib.rst
index 5cfca9a..7f08e70 100644
--- a/Doc/library/telnetlib.rst
+++ b/Doc/library/telnetlib.rst
@@ -211,16 +211,10 @@
A simple example illustrating typical use::
import getpass
- import sys
import telnetlib
- def raw_input(prompt):
- sys.stdout.write(prompt)
- sys.stdout.flush()
- return sys.stdin.readline()
-
HOST = "localhost"
- user = raw_input("Enter your remote account: ")
+ user = input("Enter your remote account: ")
password = getpass.getpass()
tn = telnetlib.Telnet(HOST)