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

Method interp_exists

Lib/test/test_interpreters/utils.py:513–519  ·  view source on GitHub ↗
(self, interpid)

Source from the content-addressed store, hash-verified

511 return text
512
513 def interp_exists(self, interpid):
514 try:
515 _interpreters.whence(interpid)
516 except _interpreters.InterpreterNotFoundError:
517 return False
518 else:
519 return True
520
521 @requires_test_modules
522 @contextlib.contextmanager

Callers 2

test_destroyMethod · 0.80

Calls 1

whenceMethod · 0.80

Tested by 2

test_destroyMethod · 0.64