Get rid of f_restricted too. Doc the other 4 ints that were already removed

at the NeedForSpeed sprint.
This commit is contained in:
Neal Norwitz 2006-06-12 02:11:18 +00:00
parent 2585ad58e6
commit b9845e72f9
4 changed files with 13 additions and 5 deletions

View file

@ -3354,7 +3354,7 @@ int
PyEval_GetRestricted(void)
{
PyFrameObject *current_frame = PyEval_GetFrame();
return current_frame == NULL ? 0 : current_frame->f_restricted;
return current_frame == NULL ? 0 : PyFrame_IsRestricted(current_frame);
}
int