diff options
author | Xiang Zhang <angwerzx@126.com> | 2017-01-22 14:39:20 +0800 |
---|---|---|
committer | Xiang Zhang <angwerzx@126.com> | 2017-01-22 14:39:20 +0800 |
commit | b1681189af1157d9b6161c8a3a645c2eb816b415 (patch) | |
tree | 398df9055b82078c557fa2e2266c35f66270aefc /Lib/argparse.py | |
parent | Issue #29092: Sync os.stat's doc and docstring on path type. (diff) | |
parent | Issue #29290: argparse help messages won't wrap at non-breaking spaces. (diff) | |
download | cpython-b1681189af1157d9b6161c8a3a645c2eb816b415.tar.gz cpython-b1681189af1157d9b6161c8a3a645c2eb816b415.tar.bz2 cpython-b1681189af1157d9b6161c8a3a645c2eb816b415.zip |
Issue #29290: Merge 3.5.
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r-- | Lib/argparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py index 209b4e99c1f..b69c5adfa07 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py @@ -182,7 +182,7 @@ class HelpFormatter(object): self._root_section = self._Section(self, None) self._current_section = self._root_section - self._whitespace_matcher = _re.compile(r'\s+') + self._whitespace_matcher = _re.compile(r'\s+', _re.ASCII) self._long_break_matcher = _re.compile(r'\n\n\n+') # =============================== |