diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 02:11:18 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 02:11:18 +0000 |
commit | b9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd (patch) | |
tree | 4aa1710f2eafe066868bfe001317774344b0d1dd /Python/ceval.c | |
parent | 2585ad58e6b8bbb54888f31f72536f55a3c77b29 (diff) | |
download | cpython-git-b9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd.tar.gz |
Get rid of f_restricted too. Doc the other 4 ints that were already removed
at the NeedForSpeed sprint.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index e68dbb24c2..278604d86f 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 |