Skip to content

Commit 122aa52

Browse files
committed
MAINT: Make guess parameter keyword only
This parameter will be added as a new parameter, I think it is more descriptive to have keyword only parameters for non-essential params.
1 parent 671d2d7 commit 122aa52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy_financial/_financial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def rate(nper, pmt, pv, fv, when='end', guess=None, tol=None, maxiter=100, *, ra
695695
return rn
696696

697697

698-
def irr(values, guess=None, *, tol=1e-12, maxiter=100, raise_exceptions=False):
698+
def irr(values, *, guess=None, tol=1e-12, maxiter=100, raise_exceptions=False):
699699
"""
700700
Return the Internal Rate of Return (IRR).
701701

0 commit comments

Comments
 (0)