From: Georg Brandl Date: Mon, 25 Jun 2007 15:21:23 +0000 (+0000) Subject: Bug #1742901: document None behavior of shlex.split. X-Git-Tag: v2.6a1~1594 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00a15bbe2e48315a20c2aaba7d5985a50ed60747;p=python Bug #1742901: document None behavior of shlex.split. --- diff --git a/Doc/lib/libshlex.tex b/Doc/lib/libshlex.tex index 23babd3ccb..230ae9f767 100644 --- a/Doc/lib/libshlex.tex +++ b/Doc/lib/libshlex.tex @@ -28,6 +28,9 @@ in \POSIX{} mode by default, but uses non-\POSIX{} mode if the \var{posix} argument is false. \versionadded{2.3} \versionchanged[Added the \var{posix} parameter]{2.6} +\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: