File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -410,8 +410,8 @@ def _norm_version(version, build=''):
410
410
return version
411
411
412
412
_ver_output = re .compile (r'(?:([\w ]+) ([\w.]+) '
413
- '.*'
414
- '\[.* ([\d.]+)\])' )
413
+ r '.*'
414
+ r '\[.* ([\d.]+)\])' )
415
415
416
416
# Examples of VER command output:
417
417
#
@@ -1097,22 +1097,22 @@ def processor():
1097
1097
1098
1098
_ironpython_sys_version_parser = re .compile (
1099
1099
r'IronPython\s*'
1100
- '([\d\.]+)'
1101
- '(?: \(([\d\.]+)\))?'
1102
- ' on (.NET [\d\.]+)' , re .ASCII )
1100
+ r '([\d\.]+)'
1101
+ r '(?: \(([\d\.]+)\))?'
1102
+ r ' on (.NET [\d\.]+)' , re .ASCII )
1103
1103
1104
1104
# IronPython covering 2.6 and 2.7
1105
1105
_ironpython26_sys_version_parser = re .compile (
1106
1106
r'([\d.]+)\s*'
1107
- '\(IronPython\s*'
1108
- '[\d.]+\s*'
1109
- '\(([\d.]+)\) on ([\w.]+ [\d.]+(?: \(\d+-bit\))?)\)'
1107
+ r '\(IronPython\s*'
1108
+ r '[\d.]+\s*'
1109
+ r '\(([\d.]+)\) on ([\w.]+ [\d.]+(?: \(\d+-bit\))?)\)'
1110
1110
)
1111
1111
1112
1112
_pypy_sys_version_parser = re .compile (
1113
1113
r'([\w.+]+)\s*'
1114
- '\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*'
1115
- '\[PyPy [^\]]+\]?' )
1114
+ r '\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*'
1115
+ r '\[PyPy [^\]]+\]?' )
1116
1116
1117
1117
_sys_version_cache = {}
1118
1118
You can’t perform that action at this time.
0 commit comments