Searched refs:Str_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | Python-ast.c | 242 static PyTypeObject *Str_type; variable 775 Str_type = make_type("Str", expr_type, Str_fields, 1); in init_types() 776 if (!Str_type) return 0; in init_types() 2826 result = PyType_GenericNew(Str_type, NULL, NULL); in ast2obj_expr() 5650 isinstance = PyObject_IsInstance(obj, (PyObject*)Str_type); in obj2ast_expr() 6842 if (PyDict_SetItemString(d, "Str", (PyObject*)Str_type) < 0) return; in init_ast()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 292 static PyTypeObject *Str_type; variable 948 Str_type = make_type("Str", expr_type, Str_fields, 1); in init_types() 949 if (!Str_type) return 0; in init_types() 3302 result = PyType_GenericNew(Str_type, NULL, NULL); in ast2obj_expr() 6633 isinstance = PyObject_IsInstance(obj, (PyObject*)Str_type); in obj2ast_expr() 8248 if (PyDict_SetItemString(d, "Str", (PyObject*)Str_type) < 0) return NULL; in PyInit__ast()
|