Home
last modified time | relevance | path

Searched refs:py_list (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc159 ScopedPyObjectPtr py_list( in FindAllExtensionNumbers() local
162 if (py_list == NULL) { in FindAllExtensionNumbers()
166 Py_ssize_t size = PyList_Size(py_list.get()); in FindAllExtensionNumbers()
169 ScopedPyObjectPtr item(PySequence_GetItem(py_list.get(), i)); in FindAllExtensionNumbers()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/
Dbindings.cc203 .def(py::init([](const py::list &py_list) { in __anon3fa898e21802() argument
205 for (auto l : py_list) { in __anon3fa898e21802()
/third_party/python/Modules/
Dgcmodule.c346 append_objects(PyObject *py_list, PyGC_Head *gc_list) in append_objects() argument
351 if (op != py_list) { in append_objects()
352 if (PyList_Append(py_list, op)) { in append_objects()