summaryrefslogtreecommitdiff
path: root/Tools/pybench/CommandLine.py
diff options
context:
space:
mode:
authordoko <doko@ubuntu.com>2017-01-31 13:35:26 +0100
committerdoko <doko@ubuntu.com>2017-01-31 13:35:26 +0100
commite0cb38ac4330d5e09b5e21c74c5d5e453af99a4f (patch)
treea64fe56edb37bb84d4ffea1990c0ac124a6dba9d /Tools/pybench/CommandLine.py
parentd7764ed2a9255ddb5bdb7d3f184610cdc7a66aad (diff)
parent602663ac0effc2e8e3b615141babd95ed7691dda (diff)
downloadcpython-e0cb38ac4330d5e09b5e21c74c5d5e453af99a4f.tar.gz
merge 3.5
Diffstat (limited to 'Tools/pybench/CommandLine.py')
-rw-r--r--Tools/pybench/CommandLine.py4
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,