diff options
author | Nitish Chandra <nitishchandrachinta@gmail.com> | 2018-02-26 21:31:20 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2018-02-26 21:31:20 (GMT) |
commit | 3a087beddd9f0955eb9080a6fd1499ff89ca74bf (patch) | |
tree | fd2c5b431db0c253e1c81e21b50a66ca81bccbdd /Include | |
parent | 6b5df906afe113dbe421d044322254cfd4747c9c (diff) | |
download | cpython-3a087beddd9f0955eb9080a6fd1499ff89ca74bf.zip cpython-3a087beddd9f0955eb9080a6fd1499ff89ca74bf.tar.gz cpython-3a087beddd9f0955eb9080a6fd1499ff89ca74bf.tar.bz2 |
bpo-32836: Remove obsolete code from symtable pass (GH-5680)
When comprehensions switched to using a nested scope, the old
code for generating a temporary name to hold the accumulation
target became redundant, but was never actually removed.
Patch by Nitish Chandra.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/symtable.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/symtable.h b/Include/symtable.h index 86ae3c2..007f88d 100644 --- a/Include/symtable.h +++ b/Include/symtable.h @@ -60,7 +60,6 @@ typedef struct _symtable_entry { int ste_col_offset; /* offset of first line of block */ int ste_opt_lineno; /* lineno of last exec or import * */ int ste_opt_col_offset; /* offset of last exec or import * */ - int ste_tmpname; /* counter for listcomp temp vars */ struct symtable *ste_table; } PySTEntryObject; |