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/crypt.rst b/Doc/library/crypt.rst
index 8840fc7..7e0cb9c 100644
--- a/Doc/library/crypt.rst
+++ b/Doc/library/crypt.rst
@@ -47,14 +47,8 @@
import crypt, getpass, pwd
- def raw_input(prompt):
- import sys
- sys.stdout.write(prompt)
- sys.stdout.flush()
- return sys.stdin.readline()
-
def login():
- username = raw_input('Python login:')
+ username = input('Python login:')
cryptedpasswd = pwd.getpwnam(username)[1]
if cryptedpasswd:
if cryptedpasswd == 'x' or cryptedpasswd == '*':