Mercurial > cpython-lru_cache-weakref
diff Python/symtable.c @ 36240:af7d484208e9 legacy-trunk
analyze_cells(): This no longer compiled under VC 7.1.
Move declaration of local `flags` to top of block.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sun, 08 Jan 2006 02:19:07 +0000 |
| parents | d3f4c467e439 |
| children | 7fdc639bc5b4 |
line wrap: on
line diff
--- a/Python/symtable.c Sun Jan 08 02:06:01 2006 +0000 +++ b/Python/symtable.c Sun Jan 08 02:19:07 2006 +0000 @@ -432,8 +432,9 @@ if (!w) return 0; while (PyDict_Next(scope, &pos, &name, &v)) { + long flags; assert(PyInt_Check(v)); - long flags = PyInt_AS_LONG(v); + flags = PyInt_AS_LONG(v); if (flags != LOCAL) continue; if (!PyDict_GetItem(free, name))
