Skip to content

Commit 0e08a64

Browse files
committed
TYP: use absolute imports to make pyright also understands it
1 parent 3fe78d0 commit 0e08a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy_financial/_financial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import numpy.typing as npt
3131
from numpy._typing import _NestedSequence # pyright: ignore[reportPrivateImportUsage]
3232

33-
from . import _cfinancial
33+
from numpy_financial import _cfinancial
3434

3535
__all__ = ['fv', 'pmt', 'nper', 'ipmt', 'ppmt', 'pv', 'rate',
3636
'irr', 'npv', 'mirr',

0 commit comments

Comments
 (0)