[Python-checkins] python/dist/src/Doc/lib libshlex.tex,1.15,1.16
niemeyer@users.sourceforge.net
niemeyer@users.sourceforge.net
Sat, 19 Apr 2003 18:57:06 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv4707/Doc/lib
Modified Files:
libshlex.tex
Log Message:
- Changed shlex.split() method to have more useful and
meaningful parameters.
Index: libshlex.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libshlex.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** libshlex.tex 17 Apr 2003 23:09:04 -0000 1.15
--- libshlex.tex 20 Apr 2003 01:57:03 -0000 1.16
***************
*** 26,35 ****
The \module{shlex} module defines the following functions:
! \begin{funcdesc}{split}{s\optional{, posix=\code{True}\optional{,
! spaces=\code{True}}}}
! Split the string \var{s} using shell-like syntax. If \var{posix} is
! \code{True}, operate in \POSIX{} mode. If \var{spaces} is \code{True}, it
! will only split words in whitespaces (setting the
! \member{whitespace_split} member of the \class{shlex} instance).
\versionadded{2.3}
\end{funcdesc}
--- 26,34 ----
The \module{shlex} module defines the following functions:
! \begin{funcdesc}{split}{s\optional{, comments=\code{False}}}
! Split the string \var{s} using shell-like syntax. If \var{comments} is
! \code{False}, the parsing of comments in the given string will be
! disabled (setting the \member{commenters} member of the \class{shlex}
! instance to the empty string). This function operates in \POSIX{} mode.
\versionadded{2.3}
\end{funcdesc}