Closes #28784: Merged update from 3.6.

This commit is contained in:
Vinay Sajip 2017-01-27 13:05:09 +00:00
commit 49688cdaa2
1 changed files with 3 additions and 1 deletions

View File

@ -411,4 +411,6 @@ which characters constitute punctuation. For example::
>>> list(s) >>> list(s)
['~/a', '&&', 'b-c', '--color=auto', '||', 'd', '*.py?'] ['~/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`.)