From 6ccbbb38caa79f9eb9b93b5767f3787fc80cbac1 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Fri, 27 Jan 2017 13:04:33 +0000 Subject: Fixes #28784: Clarified use of shlex.shlex with punctuation_chars. --- Doc/library/shlex.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index 4926f04d42..55012f80e8 100644 --- a/Doc/library/shlex.rst +++ b/Doc/library/shlex.rst @@ -411,4 +411,6 @@ which characters constitute punctuation. For example:: >>> list(s) ['~/a', '&&', 'b-c', '--color=auto', '||', 'd', '*.py?'] - +For best effect, ``punctuation_chars`` should be set in conjunction with +``posix=True``. (Note that ``posix=False`` is the default for +:class:`~shlex.shlex`.) -- cgit v1.2.1