]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF #965425: fix wordsep_re so hyphenated words are handled correctly
authorGreg Ward <gward@python.net>
Thu, 3 Jun 2004 01:53:13 +0000 (01:53 +0000)
committerGreg Ward <gward@python.net>
Thu, 3 Jun 2004 01:53:13 +0000 (01:53 +0000)
commit5bb405002d9c88be8d2110b2fda5b23bad7dc3b8
tree66a8523c35eb62e514d3ad020d062e646a0284e9
parent9284494dae487a59e63d175ad32be5df190e633e
SF #965425: fix wordsep_re so hyphenated words are handled correctly
when preceded by any punctuation, not just a sequence of more hyphens.
(That was a special case so Optik and Docutils could wrap long options
like --foo-bar correctly; this change generalizes the special-case.)

Comment fix.
Lib/textwrap.py