MCPcopy Index your code
hub / github.com/RustPython/RustPython / win32_ver

Function win32_ver

Lib/platform.py:447–457  ·  view source on GitHub ↗
(release='', version='', csd='', ptype='')

Source from the content-addressed store, hash-verified

445 return version, csd, ptype, is_client
446
447def win32_ver(release='', version='', csd='', ptype=''):
448 is_client = False
449
450 version, csd, ptype, is_client = _win32_ver(version, csd, ptype)
451
452 if version:
453 intversion = tuple(map(int, version.split('.')))
454 releases = _WIN32_CLIENT_RELEASES if is_client else _WIN32_SERVER_RELEASES
455 release = next((r for v, r in releases if v <= intversion), release)
456
457 return release, version, csd, ptype
458
459
460def _mac_ver_xml():

Callers 2

unameFunction · 0.85
platformFunction · 0.85

Calls 3

_win32_verFunction · 0.85
nextFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected