]> granicus.if.org Git - python/commitdiff
Bug #1742901: document None behavior of shlex.split.
authorGeorg Brandl <georg@python.org>
Mon, 25 Jun 2007 15:21:23 +0000 (15:21 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 25 Jun 2007 15:21:23 +0000 (15:21 +0000)
Doc/lib/libshlex.tex

index 23babd3ccbe188778eda1a3fd0ffd64f09bbc8a5..230ae9f76773d9d97e568649e8ec15faf635e416 100644 (file)
@@ -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: