Skip to content

Commit b8141cd

Browse files
committed
Remove bogus assert
1 parent b999d3e commit b8141cd

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3218,7 +3218,6 @@ dummy_func(
32183218
assert(func->func_defaults);
32193219
assert(PyTuple_CheckExact(func->func_defaults));
32203220
int defcount = (int)PyTuple_GET_SIZE(func->func_defaults);
3221-
assert(defcount <= code->co_argcount);
32223221
int min_args = code->co_argcount - defcount;
32233222
DEOPT_IF(argcount > code->co_argcount);
32243223
DEOPT_IF(argcount < min_args);

Python/generated_cases.c.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)