Skip to content

Commit 2fa10f6

Browse files
s/Illegal/Invalid/ in error message for cftime_range
per code review issue pydata#9886 Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
1 parent f68277e commit 2fa10f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/coding/cftime_offsets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ def _cftime_range(
11901190
# Adapted from pandas.core.indexes.datetimes._generate_range.
11911191
if count_not_none(start, end, periods, freq) != 3:
11921192
raise ValueError(
1193-
"Illegal combination of the arguments 'start', 'end', 'periods', "
1193+
"Invalid combination of the arguments 'start', 'end', 'periods', "
11941194
"and 'freq' specified."
11951195
)
11961196

0 commit comments

Comments
 (0)