summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-22 06:41:42 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-01-22 06:41:42 (GMT)
commitd528791096694307884762eebc8ec6fed279f302 (patch)
tree8a2982306e0a083a6d5137f14c1de209496290da /Lib/argparse.py
parent1dfaa6c38aa8607a29728db209072a5c95481bc1 (diff)
parentb1681189af1157d9b6161c8a3a645c2eb816b415 (diff)
downloadcpython-d528791096694307884762eebc8ec6fed279f302.zip
cpython-d528791096694307884762eebc8ec6fed279f302.tar.gz
cpython-d528791096694307884762eebc8ec6fed279f302.tar.bz2
Issue #29290: Merge 3.6.
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r--Lib/argparse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py
index 209b4e9..b69c5ad 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+')
# ===============================