Skip to content

Commit

Permalink
Fix WARNING - griffe: humanize/time.py:104: Parameter 'when' does not…
Browse files Browse the repository at this point in the history
… appear in the function signature
  • Loading branch information
hugovk committed Jun 12, 2022
1 parent dfc69cb commit 5641b0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/humanize/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def naturaldelta(
months (bool): If `True`, then a number of months (based on 30.5 days) will be
used for fuzziness between years.
minimum_unit (str): The lowest unit that can be used.
when (datetime.datetime): Removed in version 4.0; If you need to
construct a timedelta, do it inline as the first argument.
Returns:
str (str or `value`): A natural representation of the amount of time
Expand Down

0 comments on commit 5641b0e

Please sign in to comment.