mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
#16135: Removal of OS/2 support (Remove OS2 and OS/2 references)
This commit is contained in:
parent
080a2c087e
commit
f1af705720
18 changed files with 14 additions and 878 deletions
|
@ -403,13 +403,13 @@ _ver_output = re.compile(r'(?:([\w ]+) ([\w.]+) '
|
|||
|
||||
def _syscmd_ver(system='', release='', version='',
|
||||
|
||||
supported_platforms=('win32','win16','dos','os2')):
|
||||
supported_platforms=('win32','win16','dos')):
|
||||
|
||||
""" Tries to figure out the OS version used and returns
|
||||
a tuple (system,release,version).
|
||||
|
||||
It uses the "ver" shell command for this which is known
|
||||
to exists on Windows, DOS and OS/2. XXX Others too ?
|
||||
to exists on Windows, DOS. XXX Others too ?
|
||||
|
||||
In case this fails, the given parameters are used as
|
||||
defaults.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue