summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>2019-09-06 12:41:38 -0300
committerVictor Stinner <vstinner@redhat.com>2019-09-06 17:41:38 +0200
commit74b662cf202753d224d82d5503974cce881f7436 (patch)
tree7bf56ecdbf04328895afebce38f01f4b11403461 /Python/ceval.c
parentd8c93aa5d29d3cab537357018d5806a57452a8fe (diff)
downloadcpython-git-74b662cf202753d224d82d5503974cce881f7436.tar.gz
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/ceval.c')
-rw-r--r--Python/ceval.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 7a3f42c343..f9e03b3097 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();