diff Python/ceval.c @ 38766:79983cf634c0 legacy-trunk

Get rid of f_restricted too. Doc the other 4 ints that were already removed at the NeedForSpeed sprint.
author Neal Norwitz <nnorwitz@gmail.com>
date Mon, 12 Jun 2006 02:11:18 +0000
parents 42808526511c
children a91e739ce333
line wrap: on
line diff
--- a/Python/ceval.c	Mon Jun 12 02:09:34 2006 +0000
+++ b/Python/ceval.c	Mon Jun 12 02:11:18 2006 +0000
@@ -3354,7 +3354,7 @@
 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