summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-06-24 22:23:10 (GMT)
committerGuido van Rossum <guido@python.org>1991-06-24 22:23:10 (GMT)
commit76f2f2ef67ed4c4c57b0db2fd6f5dcac62acae9b (patch)
tree77e594dd7277c0688153bccd38b592a7df9ef65e /Modules
parent49e85146e2e936120cee4fe415fef53cf518c717 (diff)
downloadcpython-76f2f2ef67ed4c4c57b0db2fd6f5dcac62acae9b.zip
cpython-76f2f2ef67ed4c4c57b0db2fd6f5dcac62acae9b.tar.gz
cpython-76f2f2ef67ed4c4c57b0db2fd6f5dcac62acae9b.tar.bz2
Apparently MPW has power() instead of pow().
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mathmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index f6e7286..5a1cb85 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -93,7 +93,11 @@ FUNC2(math_fmod, fmod)
#endif
FUNC1(math_log, log)
FUNC1(math_log10, log10)
+#ifdef applec /* MPW */
+FUNC2(math_pow, power)
+#else
FUNC2(math_pow, pow)
+#endif
FUNC1(math_sin, sin)
FUNC1(math_sinh, sinh)
FUNC1(math_sqrt, sqrt)