MCPcopy Create free account
hub / github.com/pybind/pybind11 / scoped_interpreter

Method scoped_interpreter

include/pybind11/embed.h:289–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287class scoped_interpreter {
288public:
289 explicit scoped_interpreter(bool init_signal_handlers = true,
290 int argc = 0,
291 const char *const *argv = nullptr,
292 bool add_program_dir_to_path = true) {
293 initialize_interpreter(init_signal_handlers, argc, argv, add_program_dir_to_path);
294 }
295
296#if PY_VERSION_HEX >= PYBIND11_PYCONFIG_SUPPORT_PY_VERSION_HEX
297 explicit scoped_interpreter(PyConfig *config,

Callers

nothing calls this directly

Calls 1

initialize_interpreterFunction · 0.85

Tested by

no test coverage detected