diff options
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-x | Lib/platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/platform.py b/Lib/platform.py index f664098..62fdaf4 100755 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -1092,7 +1092,7 @@ def processor(): ### Various APIs for extracting information from sys.version _sys_version_parser = re.compile(r'([\w.+]+)\s*' - '\(#?(\d+:?\d+M?),\s*([\w ]+),\s*([\w :]+)\)\s*' + '\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*' '\[([^\]]+)\]?') _sys_version_cache = None |