summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-06-25 15:21:23 (GMT)
committerGeorg Brandl <georg@python.org>2007-06-25 15:21:23 (GMT)
commit00a15bbe2e48315a20c2aaba7d5985a50ed60747 (patch)
treefa4af1896902dd3198a990cced2f7e191177ff98 /Doc/lib
parent9731eefcfc61379a287246006fe80d7a7d7532ad (diff)
downloadcpython-00a15bbe2e48315a20c2aaba7d5985a50ed60747.zip
cpython-00a15bbe2e48315a20c2aaba7d5985a50ed60747.tar.gz
cpython-00a15bbe2e48315a20c2aaba7d5985a50ed60747.tar.bz2
Bug #1742901: document None behavior of shlex.split.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libshlex.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libshlex.tex b/Doc/lib/libshlex.tex
index 23babd3..230ae9f 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: