Kaydet (Commit) 481d3af8 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka

Make asdl_c.py to generate Python-ast.c changed in issue #15989.

üst 564cf7b6
......@@ -898,7 +898,7 @@ static int obj2ast_int(PyObject* obj, int* out, PyArena* arena)
return 1;
}
i = (int)PyLong_AsLong(obj);
i = _PyLong_AsInt(obj);
if (i == -1 && PyErr_Occurred())
return 1;
*out = i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment