MCPcopy Create free account
hub / github.com/numpy/numpy / msvc_runtime_version

Function msvc_runtime_version

numpy/distutils/misc_util.py:433–440  ·  view source on GitHub ↗

Return version of MSVC runtime library, as defined by __MSC_VER__ macro

()

Source from the content-addressed store, hash-verified

431 return False
432
433def msvc_runtime_version():
434 "Return version of MSVC runtime library, as defined by __MSC_VER__ macro"
435 msc_pos = sys.version.find('MSC v.')
436 if msc_pos != -1:
437 msc_ver = int(sys.version[msc_pos+6:msc_pos+10])
438 else:
439 msc_ver = None
440 return msc_ver
441
442def msvc_runtime_library():
443 "Return name of MSVC runtime library if Python was built with MSVC >= 7"

Callers 2

__init__Method · 0.90
msvc_runtime_majorFunction · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected