mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +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;
|
||||
locals = f->f_locals;
|
||||
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;
|
||||
if (!is_dictobject(locals) || !is_tupleobject(map))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue