@@ -875,8 +875,8 @@ def __repr__(self) -> str:
875
875
def _translate_closed_to_inclusive (closed ):
876
876
"""Follows code added in pandas #43504."""
877
877
emit_user_level_warning (
878
- "Following pandas, the `closed` argument is deprecated in "
879
- "favor of the `inclusive` argument , and will be removed in "
878
+ "Following pandas, the `closed` parameter is deprecated in "
879
+ "favor of the `inclusive` parameter , and will be removed in "
880
880
"a future version of xarray." ,
881
881
FutureWarning ,
882
882
)
@@ -933,14 +933,14 @@ def cftime_range(
933
933
Normalize start/end dates to midnight before generating date range.
934
934
name : str, default: None
935
935
Name of the resulting index
936
- closed : {"left", "right"} or None, default: _NoDefault
936
+ closed : {"left", "right"} or None, default: "NO_DEFAULT"
937
937
Make the interval closed with respect to the given frequency to the
938
938
"left", "right", or both sides (None).
939
939
940
940
.. deprecated:: 2023.01.1
941
941
942
- Following pandas, the ``closed`` argument is deprecated in favor
943
- of the ``inclusive`` argument , and will be removed in a future
942
+ Following pandas, the ``closed`` parameter is deprecated in favor
943
+ of the ``inclusive`` parameter , and will be removed in a future
944
944
version of xarray.
945
945
946
946
inclusive : {None, "both", "neither", "left", "right"}, default None
@@ -1180,13 +1180,13 @@ def date_range(
1180
1180
Normalize start/end dates to midnight before generating date range.
1181
1181
name : str, default: None
1182
1182
Name of the resulting index
1183
- closed : {"left", "right"} or None, default: _NoDefault
1183
+ closed : {"left", "right"} or None, default: "NO_DEFAULT"
1184
1184
Make the interval closed with respect to the given frequency to the
1185
1185
"left", "right", or both sides (None).
1186
1186
1187
1187
.. deprecated:: 2023.01.1
1188
- Following pandas, the `closed` argument is deprecated in favor
1189
- of the `inclusive` argument , and will be removed in a future
1188
+ Following pandas, the `closed` parameter is deprecated in favor
1189
+ of the `inclusive` parameter , and will be removed in a future
1190
1190
version of xarray.
1191
1191
inclusive : {None, "both", "neither", "left", "right"}, default None
1192
1192
Include boundaries; whether to set each bound as closed or open.
0 commit comments