mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Generalize buildno to be a sequence of non-comma
characters.
This commit is contained in:
parent
456af5f78b
commit
1df5c3961c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue