mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Bugfix: remove ref to fast before it's defined.
This commit is contained in:
parent
768360243a
commit
3bb63a8dbe
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ locals_2_fast(f, clear)
|
||||||
return;
|
return;
|
||||||
locals = f->f_locals;
|
locals = f->f_locals;
|
||||||
map = f->f_code->co_varnames;
|
map = f->f_code->co_varnames;
|
||||||
if (locals == NULL || fast == NULL || f->f_code->co_nlocals == 0)
|
if (locals == NULL || f->f_code->co_nlocals == 0)
|
||||||
return;
|
return;
|
||||||
if (!is_dictobject(locals) || !is_tupleobject(map))
|
if (!is_dictobject(locals) || !is_tupleobject(map))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue