Home
last modified time | relevance | path

Searched refs:eval_file (Results 1 – 8 of 8) sorted by relevance

/external/python/pybind11/include/pybind11/
Deval.h89 object eval_file(str, object, object) { in eval_file() function
93 object eval_file(str, object) { in eval_file() function
97 object eval_file(str) { in eval_file() function
102 object eval_file(str fname, object global = globals(), object local = object()) {
/external/python/pybind11/tests/
Dtest_eval.cpp70 auto result = py::eval_file(filename, global, local); in TEST_SUBMODULE()
85 py::eval_file("non-existing file"); in TEST_SUBMODULE()
/external/python/pybind11/docs/advanced/pycpp/
Dutilities.rst95 pybind11 provides the `eval`, `exec` and `eval_file` functions to evaluate
119 py::eval_file("script.py", scope);
138 `eval` and `eval_file` accept a template parameter that describes how the
143 `eval_file` defaults to ``eval_statements`` and `exec` is just a shortcut
/external/python/pybind11/tests/test_cmake_build/
Dembed.cpp20 py::eval_file(test_py_file, py::globals()); in main()
/external/python/pybind11/docs/advanced/
Dembedding.rst51 `exec` or `eval_file`, as explained in :ref:`eval`. Here is a quick example in
/external/python/cpython2/Lib/test/
Dtest_decimal.py223 def eval_file(self, file): member in DecimalTest
2338 tester = lambda self, f=filename: self.eval_file(directory + f)
/external/python/pybind11/docs/
Dchangelog.rst133 * ``py::exec``, ``py::eval``, and ``py::eval_file`` now add the builtins module
1341 * Added ``eval`` and ``eval_file`` functions for evaluating expressions and
/external/python/cpython3/Lib/test/
Dtest_decimal.py285 def eval_file(self, file): member in IBMTestCases
5711 tester = lambda self, f=filename: self.eval_file(directory + f)