[pypy-svn] r9895 - pypy/dist/pypy/lib
amcintyre at codespeak.net
amcintyre at codespeak.net
Sat Mar 19 18:11:19 CET 2005
Author: amcintyre
Date: Sat Mar 19 18:11:19 2005
New Revision: 9895
Modified:
pypy/dist/pypy/lib/cmath.py
Log:
Added e and pi (from math).
Modified: pypy/dist/pypy/lib/cmath.py
==============================================================================
--- pypy/dist/pypy/lib/cmath.py (original)
+++ pypy/dist/pypy/lib/cmath.py Sat Mar 19 18:11:19 2005
@@ -6,9 +6,7 @@
# much code borrowed from mathmodule.c
import math
-
-M_PI = 3.141592653589793239
-
+from math import e, pi
# constants
More information about the Pypy-commit
mailing list