summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-05-23 17:46:50 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-05-23 17:46:50 (GMT)
commit0dc23101a070fd6a5cceb66ee87eac70f94e7bd1 (patch)
tree6a5d93c35a7b68383a02931f04b9b628ef17b26a /Doc
parentddc819c9643dd5d47a940760b88d8aa3262fddf6 (diff)
downloadcpython-0dc23101a070fd6a5cceb66ee87eac70f94e7bd1.zip
cpython-0dc23101a070fd6a5cceb66ee87eac70f94e7bd1.tar.gz
cpython-0dc23101a070fd6a5cceb66ee87eac70f94e7bd1.tar.bz2
Exposed readline() function from the readline module.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libreadline.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libreadline.tex b/Doc/lib/libreadline.tex
index 24dd2a3..cd2a80a 100644
--- a/Doc/lib/libreadline.tex
+++ b/Doc/lib/libreadline.tex
@@ -15,6 +15,10 @@ interpreter.
The \module{readline} module defines the following functions:
+\begin{funcdesc}{readline}{\optional{prompt}}
+Get a single line of input from the user.
+\end{funcdesc}
+
\begin{funcdesc}{parse_and_bind}{string}
Parse and execute single line of a readline init file.
\end{funcdesc}
@@ -154,3 +158,4 @@ import atexit
atexit.register(readline.write_history_file, histfile)
del os, histfile
\end{verbatim}
+