]> 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:26 +0000 (15:21 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 25 Jun 2007 15:21:26 +0000 (15:21 +0000)
 (backport from rev. 56084)

Doc/lib/libshlex.tex

index 3a43648897f7a0dcc3f2badb00ae29f61408a6dc..5837788ca1125294a7857037a2474f9125f1b3b2 100644 (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
 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: