Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_ast_state.h128 PyObject *Slice_type; member
/third_party/python/Python/
DPython-ast.c142 Py_CLEAR(state->Slice_type); in _PyAST_Fini()
1444 state->Slice_type = make_type(state, "Slice", state->expr_type, in init_types()
1447 if (!state->Slice_type) return 0; in init_types()
1448 if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1) in init_types()
1450 if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1) in init_types()
1452 if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1) in init_types()
4601 tp = (PyTypeObject *)state->Slice_type; in ast2obj_expr()
9522 tp = state->Slice_type; in obj2ast_expr()
11797 if (PyModule_AddObjectRef(m, "Slice", state->Slice_type) < 0) { in astmodule_exec()