summaryrefslogtreecommitdiffstats
path: root/Lib/platform.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-01-06 00:44:11 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-01-06 00:44:11 (GMT)
commit1df5c3961ce661403ba8b923f2d3283d13f932e7 (patch)
treeeb0b5c35d37df171105be22ced6300ac1f01d13c /Lib/platform.py
parent456af5f78b5b63da2ffb1995adb991445f8212e9 (diff)
downloadcpython-1df5c3961ce661403ba8b923f2d3283d13f932e7.zip
cpython-1df5c3961ce661403ba8b923f2d3283d13f932e7.tar.gz
cpython-1df5c3961ce661403ba8b923f2d3283d13f932e7.tar.bz2
Generalize buildno to be a sequence of non-comma
characters.
Diffstat (limited to 'Lib/platform.py')
-rwxr-xr-xLib/platform.py2
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