[Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex,1.99,1.100
Fred L. Drake
fdrake@users.sourceforge.net
2001年12月18日 08:31:10 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv591/lib
Modified Files:
libfuncs.tex
Log Message:
Add documentation for the help() built-in; contributed by Ka-Ping Yee.
This is part of SF patch #494622.
Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** libfuncs.tex 2001年12月13日 19:52:03 1.99
--- libfuncs.tex 2001年12月18日 16:31:08 1.100
***************
*** 393,396 ****
--- 393,406 ----
\end{funcdesc}
+ \begin{funcdesc}{help}{\optional{object}}
+ Invoke the built-in help system. (This function is intended for
+ interactive use.) If no argument is given, the interactive help
+ system starts on the interpreter console. If the argument is a
+ string, then the string is looked up as the name of a module,
+ function, class, method, keyword, or documentation topic, and a
+ help page is printed on the console. If the argument is any other
+ kind of object, a help page on the object is generated.
+ \end{funcdesc}
+
\begin{funcdesc}{hex}{x}
Convert an integer number (of any size) to a hexadecimal string.