Skip to content

Commit

Permalink
Update the docstring in _case_insensitive_match
Browse files Browse the repository at this point in the history
  • Loading branch information
olejandro committed Mar 22, 2024
1 parent 0a7a66f commit 9628356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xl2times/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def round_sig(x, sig_figs):


def _case_insensitive_match(path: str, pattern: str) -> bool:
"""Do case-insensitive comparisson. Convert to lowercase first, because
"""Do case-insensitive path match. Convert to lowercase first, because
case_sensitive parameter in match is not available before Python 3.12.
"""
return PurePath(path.lower()).match(pattern.lower())
Expand Down

0 comments on commit 9628356

Please sign in to comment.