Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ create
Function
create
tests/test_multiple_interpreters.py:36–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
from
concurrent
import
interpreters
35
36
def
create():
37
return
contextlib.closing(interpreters.create())
38
39
def
run_string(
40
interp: interpreters.Interpreter,
Callers
7
ReturnTester
Class · 0.85
test_independent_subinterpreters
Function · 0.85
test_dependent_subinterpreters
Function · 0.85
test_subinterpreter.cpp
File · 0.85
run
Method · 0.85
create
Method · 0.85
scoped_subinterpreter
Method · 0.85
Calls
2
destroy
Method · 0.80
create
Method · 0.45
Tested by
no test coverage detected