mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-100577: Replace assert(0)
with Py_UNREACHABLE
in symtable.c
(#100579)
This commit is contained in:
parent
457c1f4a19
commit
5e1adb4f88
1 changed files with 1 additions and 1 deletions
|
@ -1539,7 +1539,7 @@ symtable_extend_namedexpr_scope(struct symtable *st, expr_ty e)
|
|||
/* We should always find either a FunctionBlock, ModuleBlock or ClassBlock
|
||||
and should never fall to this case
|
||||
*/
|
||||
assert(0);
|
||||
Py_UNREACHABLE();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue