From: Georg Brandl Date: Mon, 25 Jun 2007 15:21:26 +0000 (+0000) Subject: Bug #1742901: document None behavior of shlex.split. X-Git-Tag: v2.5.2c1~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4508df2c7267511882736f3cce8b97c4f4602878;p=python Bug #1742901: document None behavior of shlex.split. (backport from rev. 56084) --- diff --git a/Doc/lib/libshlex.tex b/Doc/lib/libshlex.tex index 3a43648897..5837788ca1 100644 --- a/Doc/lib/libshlex.tex +++ b/Doc/lib/libshlex.tex @@ -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 in \POSIX{} mode. \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} The \module{shlex} module defines the following class: