Searched refs:Slice_type (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Include/internal/ |
H A D | pycore_ast_state.h | 130 PyObject *Slice_type; member
|
/third_party/python/Python/ |
H A D | Python-ast.c | 143 Py_CLEAR(state->Slice_type); in _PyAST_Fini() 1457 state->Slice_type = make_type(state, "Slice", state->expr_type, in init_types() 1460 if (!state->Slice_type) return 0; in init_types() 1461 if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1) in init_types() 1463 if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1) in init_types() 1465 if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1) in init_types() 4683 tp = (PyTypeObject *)state->Slice_type; in ast2obj_expr() 9829 tp = state->Slice_type; in obj2ast_expr() 12107 if (PyModule_AddObjectRef(m, "Slice", state->Slice_type) < 0) { in astmodule_exec()
|
Completed in 18 milliseconds