diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-02-04 09:34:48 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-02-04 09:34:48 +0300 |
commit | 3821030b7ba4a7ff5d34c33deff4f6886130a951 (patch) | |
tree | 21dbd98647a8fa6937cc0de0a8d76947f7593ad6 /Tools/pybench/CommandLine.py | |
parent | acbb71ea58f932980f795e7582309fc2b33490eb (diff) | |
parent | 678487eb345f9f9dea3d3818ecad7d39145bdc65 (diff) | |
download | cpython-3821030b7ba4a7ff5d34c33deff4f6886130a951.tar.gz |
Issue #29198: Merge from 3.5
Diffstat (limited to 'Tools/pybench/CommandLine.py')
-rw-r--r-- | Tools/pybench/CommandLine.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/pybench/CommandLine.py b/Tools/pybench/CommandLine.py index 073cca0507..54a8ba7326 100644 --- a/Tools/pybench/CommandLine.py +++ b/Tools/pybench/CommandLine.py @@ -99,8 +99,8 @@ def option_dict(options): # Alias getpasswd = invisible_input -_integerRE = re.compile('\s*(-?\d+)\s*$') -_integerRangeRE = re.compile('\s*(-?\d+)\s*-\s*(-?\d+)\s*$') +_integerRE = re.compile(r'\s*(-?\d+)\s*$') +_integerRangeRE = re.compile(r'\s*(-?\d+)\s*-\s*(-?\d+)\s*$') def srange(s, |