summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-12 02:11:18 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-12 02:11:18 (GMT)
commitb9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd (patch)
tree4aa1710f2eafe066868bfe001317774344b0d1dd /Python
parent2585ad58e6b8bbb54888f31f72536f55a3c77b29 (diff)
downloadcpython-b9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd.zip
cpython-b9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd.tar.gz
cpython-b9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd.tar.bz2
Get rid of f_restricted too. Doc the other 4 ints that were already removed
at the NeedForSpeed sprint.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index e68dbb2..278604d 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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