Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dast.c1405 PyObject *pynum = parsenumber(c, STR(ch)); in ast_for_atom() local
1406 if (!pynum) in ast_for_atom()
1409 PyArena_AddPyObject(c->c_arena, pynum); in ast_for_atom()
1410 return Num(pynum, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
1747 PyObject *pynum; in ast_for_factor() local
1753 pynum = parsenumber(c, s); in ast_for_factor()
1755 if (!pynum) in ast_for_factor()
1758 PyArena_AddPyObject(c->c_arena, pynum); in ast_for_factor()
1759 return Num(pynum, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_factor()
/external/python/cpython3/Python/
Dast.c2144 PyObject *pynum = parsenumber(c, STR(ch)); in ast_for_atom() local
2145 if (!pynum) in ast_for_atom()
2148 if (PyArena_AddPyObject(c->c_arena, pynum) < 0) { in ast_for_atom()
2149 Py_DECREF(pynum); in ast_for_atom()
2152 return Num(pynum, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()