Fixes #28784: Clarified use of shlex.shlex with punctuation_chars.

This commit is contained in:
Vinay Sajip 2017-01-27 13:04:33 +00:00
parent dbb5686e7e
commit dc4ce0e013

View file

@ -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`.)