Skip to content

Commit 6faa0f9

Browse files
authored
Merge pull request #77 from numpy/feature/make-guess-kw-only
MAINT: Make `guess` parameter keyword only
2 parents 671d2d7 + 122aa52 commit 6faa0f9

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)