From 00a15bbe2e48315a20c2aaba7d5985a50ed60747 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 25 Jun 2007 15:21:23 +0000 Subject: [PATCH] Bug #1742901: document None behavior of shlex.split. --- Doc/lib/libshlex.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/lib/libshlex.tex b/Doc/lib/libshlex.tex index 23babd3ccbe..230ae9f7677 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: