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

scipy-svn@scip... scipy-svn@scip...
Tue Mar 27 13:10:53 CDT 2007


Author: mattknox_ca
Date: 2007-03-27 13:10:50 -0500 (Tue, 27 Mar 2007)
New Revision: 2876

Modified:
   trunk/Lib/sandbox/timeseries/tdates.py
Log:
added DateCalc_Error and DateCalc_RangeError exception objects to module namespace

Modified: trunk/Lib/sandbox/timeseries/tdates.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tdates.py	2007-03-27 18:10:02 UTC (rev 2875)
+++ trunk/Lib/sandbox/timeseries/tdates.py	2007-03-27 18:10:50 UTC (rev 2876)
@@ -36,7 +36,8 @@
 cseries.set_callback_DateFromString(DateFromString)
 cseries.set_callback_DateTimeFromString(DateTimeFromString)
 
-from cseries import Date, thisday, check_freq, check_freq_str, get_freq_group
+from cseries import Date, thisday, check_freq, check_freq_str, get_freq_group,\
+                    DateCalc_Error, DateCalc_RangeError
 today = thisday
 
 __all__ = [
@@ -45,7 +46,7 @@
 'datearray','date_array', 'date_array_fromlist', 'date_array_fromrange',
 'day_of_week','day_of_year','day','month','quarter','year','hour','minute',
 'second','thisday','today','prevbusday','period_break', 'check_freq',
-'check_freq_str','get_freq_group'
+'check_freq_str','get_freq_group', 'DateCalc_Error', 'DateCalc_RangeError'
            ]
 
 



More information about the Scipy-svn mailing list