diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 02:11:18 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-06-12 02:11:18 (GMT) |
commit | b9845e72f9af2c47fbeeb0d27bd1659e38a9ffbd (patch) | |
tree | 4aa1710f2eafe066868bfe001317774344b0d1dd /Python | |
parent | 2585ad58e6b8bbb54888f31f72536f55a3c77b29 (diff) | |
download | cpython-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.c | 2 |
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 |