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

Function Py_CompileStringFlags

pyo3-ffi/src/cpython/pythonrun.rs:129–136  ·  view source on GitHub ↗
(
    string: *const c_char,
    p: *const c_char,
    s: c_int,
    f: *mut PyCompilerFlags,
)

Source from the content-addressed store, hash-verified

127#[inline]
128#[cfg(not(any(PyPy, GraalPy)))]
129pub unsafe fn Py_CompileStringFlags(
130 string: *const c_char,
131 p: *const c_char,
132 s: c_int,
133 f: *mut PyCompilerFlags,
134) -> *mut PyObject {
135 Py_CompileStringExFlags(string, p, s, f, -1)
136}
137
138extern_libpython! {
139 #[cfg_attr(PyPy, link_name = "PyPyRun_String")]

Callers 1

Py_CompileStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected