Skip to content

Commit 5079863

Browse files
committed
remove warning in cython3
1 parent b0308e3 commit 5079863

File tree

9 files changed

+7
-12
lines changed

9 files changed

+7
-12
lines changed

quantlib/cashflows/_coupon.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include '../types.pxi'
1+
from quantlib.types cimport *
22

33
from quantlib.time._date cimport Date, serial_type
44
from quantlib.time._daycounter cimport DayCounter

quantlib/instruments/make_swaption.pxd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
include '../types.pxi'
2-
1+
from quantlib.types cimport *
32
from . cimport _make_swaption
43

54
cdef class MakeSwaption:

quantlib/termstructures/_yield_term_structure.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
77
FOR A PARTICULAR PURPOSE. See the license for more details.
88
"""
9-
include '../types.pxi'
9+
from quantlib.types cimport *
1010

1111
from libcpp cimport bool
1212
from libcpp.vector cimport vector

quantlib/time/_calendar.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include '../types.pxi'
1+
from quantlib.types cimport *
22

33
from libcpp cimport bool
44
from libcpp.string cimport string

quantlib/time/_date.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include '../types.pxi'
1+
from quantlib.types cimport *
22

33
cdef extern from 'ql/time/date.hpp' namespace 'QuantLib':
44
ctypedef int Year

quantlib/time/_daycounter.pxd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
include '../types.pxi'
2-
1+
from quantlib.types cimport Time
32
from libcpp cimport bool
43
from libcpp.string cimport string
54
from ._date cimport Date, serial_type

quantlib/time/_imm.pxd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
FOR A PARTICULAR PURPOSE. See the license for more details.
88
"""
99

10-
include '../types.pxi'
11-
1210
from libcpp cimport bool
1311
from libcpp.string cimport string
1412
from ._date cimport Date

quantlib/time/_period.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include '../types.pxi'
1+
from quantlib.types cimport *
22
from libcpp cimport bool
33
from libcpp.string cimport string
44

quantlib/time/calendars/_jointcalendar.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include '../../types.pxi'
21
from libcpp.string cimport string
32

43
from quantlib.time._calendar cimport Calendar

0 commit comments

Comments
 (0)