diff options
| author | Guillaume Horel <guillaume.horel@serenitascapital.com> | 2016-08-04 13:16:49 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@serenitascapital.com> | 2016-08-04 13:16:49 -0400 |
| commit | 99c1e142df35d2d2858f4922b8c6ae8cb17e1348 (patch) | |
| tree | ef542b66b04f3536301981c284e2189b122575ae | |
| parent | 88cfdd71041924a658785b0bdc84dbeffb144a96 (diff) | |
| download | pyisda-99c1e142df35d2d2858f4922b8c6ae8cb17e1348.tar.gz | |
pxd and pyx files share the same namespace
no need to import from the pxd file in the pyx file.
| -rw-r--r-- | pyisda/cdsone.pyx | 2 | ||||
| -rw-r--r-- | pyisda/curve.pyx | 3 | ||||
| -rw-r--r-- | pyisda/date.pyx | 1 | ||||
| -rw-r--r-- | pyisda/legs.pyx | 2 |
4 files changed, 0 insertions, 8 deletions
diff --git a/pyisda/cdsone.pyx b/pyisda/cdsone.pyx index 6326183..62cfbae 100644 --- a/pyisda/cdsone.pyx +++ b/pyisda/cdsone.pyx @@ -1,5 +1,3 @@ -from cdsone cimport (JpmcdsCdsoneUpfrontCharge, - JpmcdsCdsoneSpread, JpmcdsStringToStubMethod) from curve cimport YieldCurve from date cimport JpmcdsStringToDateInterval, pydate_to_TDate, dcc diff --git a/pyisda/curve.pyx b/pyisda/curve.pyx index e7ce72d..46708ff 100644 --- a/pyisda/curve.pyx +++ b/pyisda/curve.pyx @@ -1,7 +1,4 @@ from libc.stdlib cimport malloc, free - -from curve cimport (JpmcdsBuildIRZeroCurve, JpmcdsZeroPrice, JpmcdsMakeTCurve, - Basis, CONTINUOUS, JpmcdsCleanSpreadCurve) from date cimport (JpmcdsStringToDateInterval, pydate_to_TDate, dcc, JpmcdsDateIntervalToFreq, JpmcdsDateFwdThenAdjust, TDate_to_pydate, JpmcdsDateFromBusDaysOffset) diff --git a/pyisda/date.pyx b/pyisda/date.pyx index b7a79ab..bc6a05e 100644 --- a/pyisda/date.pyx +++ b/pyisda/date.pyx @@ -1,6 +1,5 @@ import datetime from cpython cimport datetime as c_datetime -from date cimport JpmcdsDate, JpmcdsStringToDayCountConv, JpmcdsFormatDayCountConv c_datetime.import_datetime() diff --git a/pyisda/legs.pyx b/pyisda/legs.pyx index 55f1fcb..1a66af3 100644 --- a/pyisda/legs.pyx +++ b/pyisda/legs.pyx @@ -1,5 +1,3 @@ -from legs cimport (JpmcdsCdsContingentLegMake, - JpmcdsCdsFeeLegMake, JpmcdsFeeLegFlows, TBoolean) from libc.stdlib cimport free from date cimport pydate_to_TDate, TDate_to_pydate, dcc from cdsone cimport JpmcdsStringToStubMethod, TStubMethod |
