mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
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.
This commit is contained in:
parent
6b5df906af
commit
3a087beddd
3 changed files with 1 additions and 26 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue