commit | 061d106a0f56c5b4171ad8c56ecfaa6cefb27385 | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Thu Mar 22 02:32:48 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Thu Mar 22 02:32:48 2001 +0000 |
tree | 5f8752ceddffe173d9bf0b6de2781cbfd67e8f08 | |
parent | f6e47ad4bd12ffa633d51071520722be32fb252d [diff] |
If a code object is compiled with nested scopes, define the CO_NESTED flag. Add PyEval_GetNestedScopes() which returns a non-zero value if the code for the current interpreter frame has CO_NESTED defined.