[Python-checkins] CVS: python/dist/src/Doc/lib libfuncs.tex,1.74,1.75

Fred L. Drake fdrake@users.sourceforge.net
Thu, 18 Jan 2001 10:09:09 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv24295/lib

Modified Files:
	libfuncs.tex 
Log Message:

Minor markup cleaning, and one required fix in the unistr() description.


Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -r1.74 -r1.75
*** libfuncs.tex	2001/01/17 17:09:53	1.74
--- libfuncs.tex	2001/01/18 18:09:07	1.75
***************
*** 20,29 ****
  \function{__import__()} function.
  
! For example, the statement `\code{import} \code{spam}' results in the
  following call:
  \code{__import__('spam',} \code{globals(),} \code{locals(), [])};
! the statement \code{from} \code{spam.ham import} \code{eggs} results
! in \code{__import__('spam.ham',} \code{globals(),} \code{locals(),}
! \code{['eggs'])}.
  Note that even though \code{locals()} and \code{['eggs']} are passed
  in as arguments, the \function{__import__()} function does not set the
--- 20,28 ----
  \function{__import__()} function.
  
! For example, the statement \samp{import spam} results in the
  following call:
  \code{__import__('spam',} \code{globals(),} \code{locals(), [])};
! the statement \samp{from spam.ham import eggs} results
! in \samp{__import__('spam.ham', globals(), locals(), ['eggs'])}.
  Note that even though \code{locals()} and \code{['eggs']} are passed
  in as arguments, the \function{__import__()} function does not set the
***************
*** 696,702 ****
  
  \begin{funcdesc}{unistr}{object}
! Return a Unicode string containing a nicely printable representation of an
! object.  For Unicode, this returns the Unicode string itself.  For
! all other objects, it tries to convert \code{str(\var{object})] to Unicode.
  \end{funcdesc}
  
--- 695,702 ----
  
  \begin{funcdesc}{unistr}{object}
! Return a Unicode string containing a nicely printable representation
! of an object.  For Unicode, this returns the Unicode string itself.
! For all other objects, it tries to convert \code{str(\var{object})} to
! Unicode.
  \end{funcdesc}