From 030ae175821e4e94c50139c6fac68ac507b0403f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 10 Nov 1994 22:33:19 +0000 Subject: [PATCH] fix pow() core dump --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 3acf1870dcd..4f6c8524ece 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -1299,7 +1299,7 @@ static struct methodlist builtin_methods[] = { {"oct", builtin_oct}, {"open", builtin_open}, {"ord", builtin_ord}, - {"pow", builtin_pow}, + {"pow", builtin_pow, 1}, {"range", builtin_range}, {"raw_input", builtin_raw_input}, {"reduce", builtin_reduce},