summaryrefslogtreecommitdiffstats
path: root/example.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2018-10-25 14:55:31 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2018-10-25 14:56:15 -0400
commitfc53c3e32b2f9d4f83797c6e75545b1f2aee2f67 (patch)
tree148a4cc5518abe820abaf95eda1077a5ab3bf7d4 /example.py
parenta56917eeeadecf2a5282e65abebe737aeae05f87 (diff)
downloadpyisda-fc53c3e32b2f9d4f83797c6e75545b1f2aee2f67.tar.gz
fix example
Diffstat (limited to 'example.py')
-rw-r--r--example.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/example.py b/example.py
index 8fbaa80..6df6b55 100644
--- a/example.py
+++ b/example.py
@@ -1,4 +1,5 @@
-from pyisda.curve import YieldCurve, BadDay, SpreadCurve
+from pyisda.curve import YieldCurve, SpreadCurve
+from pyisda.date import BadDay
import datetime
import math
from pyisda.cdsone import upfront_charge, spread_from_upfront