[pypy-svn] pypy fast-forward: Kill this old definition of expm1(). The function is redefined

arigo commits-noreply at bitbucket.org
Sun Jan 9 11:44:19 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: fast-forward
Changeset: r40506:f8a28efabe3b
Date: 2011-01-09 11:21 +0100
http://bitbucket.org/pypy/pypy/changeset/f8a28efabe3b/

Log:	Kill this old definition of expm1(). The function is redefined
	later in the file anyway.

diff --git a/pypy/module/math/interp_math.py b/pypy/module/math/interp_math.py
--- a/pypy/module/math/interp_math.py
+++ b/pypy/module/math/interp_math.py
@@ -328,10 +328,6 @@
     return math1(space, math.exp, w_x)
 exp.unwrap_spec = [ObjSpace, W_Root]
 
-def expm1(space, w_x):
-    return math1(space, math.expm1, w_x)
-expm1.unwrap_spec = [ObjSpace, W_Root]
-
 def acos(space, w_x):
     """acos(x)
 


More information about the Pypy-commit mailing list