Bug #1742901: document None behavior of shlex.split.

(backport from rev. 56084)
This commit is contained in:
Georg Brandl 2007-06-25 15:21:26 +00:00
parent 5a5adf3a86
commit 4508df2c72
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ string will be disabled (setting the \member{commenters} member of the
\class{shlex} instance to the empty string). This function operates \class{shlex} instance to the empty string). This function operates
in \POSIX{} mode. in \POSIX{} mode.
\versionadded{2.3} \versionadded{2.3}
\note{Since the \function{split()} function instantiates a \class{shlex}
instance, passing \code{None} for \var{s} will read the string
to split from standard input.}
\end{funcdesc} \end{funcdesc}
The \module{shlex} module defines the following class: The \module{shlex} module defines the following class: