Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 030ae17

Browse files
committed
fix pow() core dump
1 parent bb3c5f7 commit 030ae17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ static struct methodlist builtin_methods[] = {
12991299
{"oct", builtin_oct},
13001300
{"open", builtin_open},
13011301
{"ord", builtin_ord},
1302-
{"pow", builtin_pow},
1302+
{"pow", builtin_pow, 1},
13031303
{"range", builtin_range},
13041304
{"raw_input", builtin_raw_input},
13051305
{"reduce", builtin_reduce},

0 commit comments

Comments
 (0)