diff options
author | Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> | 2019-09-06 15:41:38 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-09-06 15:41:38 (GMT) |
commit | 74b662cf202753d224d82d5503974cce881f7436 (patch) | |
tree | 7bf56ecdbf04328895afebce38f01f4b11403461 /Python | |
parent | d8c93aa5d29d3cab537357018d5806a57452a8fe (diff) | |
download | cpython-74b662cf202753d224d82d5503974cce881f7436.zip cpython-74b662cf202753d224d82d5503974cce881f7436.tar.gz cpython-74b662cf202753d224d82d5503974cce881f7436.tar.bz2 |
bpo-15088 : Remove PyGen_NeedsFinalizing() (GH-15702)
Remove PyGen_NeedsFinalizing(): it was not
documented, tested or used anywhere within CPython after
the implementation of PEP 442.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 7a3f42c..f9e03b3 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -3227,11 +3227,6 @@ main_loop: } case TARGET(SETUP_FINALLY): { - /* NOTE: If you add any new block-setup opcodes that - are not try/except/finally handlers, you may need - to update the PyGen_NeedsFinalizing() function. - */ - PyFrame_BlockSetup(f, SETUP_FINALLY, INSTR_OFFSET() + oparg, STACK_LEVEL()); DISPATCH(); |