Home
last modified time | relevance | path

Searched refs:With_type (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
DPython-ast.c98 static PyTypeObject *With_type; variable
711 With_type = make_type("With", stmt_type, With_fields, 3); in init_types()
712 if (!With_type) return 0; in init_types()
2384 result = PyType_GenericNew(With_type, NULL, NULL); in ast2obj_stmt()
4222 isinstance = PyObject_IsInstance(obj, (PyObject*)With_type); in obj2ast_stmt()
6797 if (PyDict_SetItemString(d, "With", (PyObject*)With_type) < 0) return; in init_ast()
/external/python/cpython3/Python/
DPython-ast.c127 static PyTypeObject *With_type; variable
884 With_type = make_type("With", stmt_type, With_fields, 2); in init_types()
885 if (!With_type) return 0; in init_types()
2882 result = PyType_GenericNew(With_type, NULL, NULL); in ast2obj_stmt()
5136 isinstance = PyObject_IsInstance(obj, (PyObject*)With_type); in obj2ast_stmt()
8195 if (PyDict_SetItemString(d, "With", (PyObject*)With_type) < 0) return NULL; in PyInit__ast()