MCPcopy Create free account
hub / github.com/PyO3/pyo3 / Py_CompileString

Function Py_CompileString

pyo3-ffi/src/cpython/pythonrun.rs:123–125  ·  view source on GitHub ↗
(string: *const c_char, p: *const c_char, s: c_int)

Source from the content-addressed store, hash-verified

121#[inline]
122#[cfg(not(any(PyPy, GraalPy)))]
123pub unsafe fn Py_CompileString(string: *const c_char, p: *const c_char, s: c_int) -> *mut PyObject {
124 Py_CompileStringExFlags(string, p, s, core::ptr::null_mut(), -1)
125}
126
127#[inline]
128#[cfg(not(any(PyPy, GraalPy)))]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected