summaryrefslogtreecommitdiff
path: root/Lib/distutils/versionpredicate.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/versionpredicate.py')
-rw-r--r--Lib/distutils/versionpredicate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/versionpredicate.py b/Lib/distutils/versionpredicate.py
index b0dd9f45bf..062c98f248 100644
--- a/Lib/distutils/versionpredicate.py
+++ b/Lib/distutils/versionpredicate.py
@@ -154,7 +154,7 @@ def split_provision(value):
global _provision_rx
if _provision_rx is None:
_provision_rx = re.compile(
- "([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(?:\s*\(\s*([^)\s]+)\s*\))?$",
+ r"([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(?:\s*\(\s*([^)\s]+)\s*\))?$",
re.ASCII)
value = value.strip()
m = _provision_rx.match(value)