MCPcopy Index your code
hub / github.com/python/cpython / win32_ver

Function win32_ver

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

Source from the content-addressed store, hash-verified

459 return version, csd, ptype, is_client
460
461def win32_ver(release='', version='', csd='', ptype=''):
462 is_client = False
463
464 version, csd, ptype, is_client = _win32_ver(version, csd, ptype)
465
466 if version:
467 intversion = tuple(map(int, version.split('.')))
468 releases = _WIN32_CLIENT_RELEASES if is_client else _WIN32_SERVER_RELEASES
469 release = next((r for v, r in releases if v <= intversion), release)
470
471 return release, version, csd, ptype
472
473
474def _mac_ver_xml():

Callers 2

unameFunction · 0.85
platformFunction · 0.85

Calls 2

_win32_verFunction · 0.85
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…