diff -r 3aa21b5b145a Doc/library/readline.rst --- a/Doc/library/readline.rst Thu Jun 05 15:32:34 2014 -0400 +++ b/Doc/library/readline.rst Sat Jun 07 12:12:29 2014 -0700 @@ -14,6 +14,19 @@ interactive prompt and the prompts offered by the built-in :func:`input` function. +.. caution:: + + The following will result in deletion of the 'Hello' when a backspace is typed.:: + + import sys, readline + sys.stdout.write('Hello ') + input() + + It is recommended to directly use the :func:`input` function.:: + + import readline + input('Hello ') + .. note:: On MacOS X the :mod:`readline` module can be implemented using