[Python-checkins] CVS: python/dist/src/Doc/lib libreadline.tex,1.6,1.7
Martin v. L?wis
loewis@users.sourceforge.net
Sun, 30 Sep 2001 14:10:01 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Modules binascii.c,2.29,2.30
- Next message: [Python-checkins] CVS: python/dist/src acconfig.h,1.56,1.57 configure,1.253,1.254 configure.in,1.261,1.262 pyconfig.h.in,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv18073/Doc/lib
Modified Files:
libreadline.tex
Log Message:
Patch #462122: add readline startup and pre_event hooks.
Index: libreadline.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libreadline.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** libreadline.tex 2001/08/01 21:42:45 1.6
--- libreadline.tex 2001/09/30 21:09:58 1.7
***************
*** 55,58 ****
--- 55,74 ----
\end{funcdesc}
+ \begin{funcdesc}{set_startup_hook}{\optional{function}}
+ Set or remove the startup_hook function. If \var{function} is specified,
+ it will be used as the new startup_hook function; if omitted or
+ \code{None}, any hook function already installed is removed. The
+ startup_hook function is called with no arguments just
+ before readline prints the first prompt.
+ \end{funcdesc}
+
+ \begin{funcdesc}{set_pre_input_hook}{\optional{function}}
+ Set or remove the pre_input_hook function. If \var{function} is specified,
+ it will be used as the new pre_input_hook function; if omitted or
+ \code{None}, any hook function already installed is removed. The
+ pre_input_hook function is called with no arguments after the first prompt
+ has been printed and just before readline starts reading input characters.
+ \end{funcdesc}
+
\begin{funcdesc}{set_completer}{\optional{function}}
Set or remove the completer function. If \var{function} is specified,
- Previous message: [Python-checkins] CVS: python/dist/src/Modules binascii.c,2.29,2.30
- Next message: [Python-checkins] CVS: python/dist/src acconfig.h,1.56,1.57 configure,1.253,1.254 configure.in,1.261,1.262 pyconfig.h.in,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]