[Scipy-svn] r2855 - trunk/Lib/sandbox/timeseries

scipy-svn@scip... scipy-svn@scip...
Tue Mar 20 12:40:20 CDT 2007


Author: mattknox_ca
Date: 2007-03-20 12:40:17 -0500 (Tue, 20 Mar 2007)
New Revision: 2855

Modified:
   trunk/Lib/sandbox/timeseries/tdates.py
Log:
removed some obsolete code from DateArray

Modified: trunk/Lib/sandbox/timeseries/tdates.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tdates.py	2007-03-20 17:38:34 UTC (rev 2854)
+++ trunk/Lib/sandbox/timeseries/tdates.py	2007-03-20 17:40:17 UTC (rev 2855)
@@ -169,15 +169,12 @@
 >>> for d in DateArray(...):
 accesses the array element by element. Therefore, `d` is a Date object.
     """
-    _defcachedinfo = dict(toobj=None, tostr=None, toord=None,
-                          steps=None, full=None, hasdups=None)
     def __new__(cls, dates=None, freq=None, copy=False):
         # Get the frequency ......
         if freq is None:
             _freq = getattr(dates, 'freq', _c.FR_UND)
         else:
             _freq = check_freq(freq)
-        cls._defaultfreq = check_freq(_freq)
         # Get the dates ..........
         _dates = numeric.array(dates, copy=copy, dtype=int_, subok=1)
         if _dates.ndim == 0:



More information about the Scipy-svn mailing list