summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-11-10 22:33:19 (GMT)
committerGuido van Rossum <guido@python.org>1994-11-10 22:33:19 (GMT)
commit030ae175821e4e94c50139c6fac68ac507b0403f (patch)
treee5e79cc049bf6e67075af5b4c575a4c81747f31a
parentbb3c5f74069df670eba656e891b59553fc66019a (diff)
downloadcpython-030ae175821e4e94c50139c6fac68ac507b0403f.zip
cpython-030ae175821e4e94c50139c6fac68ac507b0403f.tar.gz
cpython-030ae175821e4e94c50139c6fac68ac507b0403f.tar.bz2
fix pow() core dump
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 3acf187..4f6c852 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},