MCPcopy Create free account
hub / github.com/davisking/dlib / is_python3

Function is_python3

tools/python/test/utils.py:44–48  ·  view source on GitHub ↗

Returns True if using Python 3 or above, otherwise False

()

Source from the content-addressed store, hash-verified

42 return False
43
44def is_python3():
45 '''
46 Returns True if using Python 3 or above, otherwise False
47 '''
48 return sys.version_info >= (3, 0)

Callers 1

load_pickled_compatibleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected