Skip to content

Commit c744b3d

Browse files
committed
suggested edits
1 parent 13e3ffb commit c744b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ behaves as a calendar-day, preserving time-of-day across DST transitions:
321321
ts = pd.Timestamp("2025-03-08 08:00", tz="US/Eastern")
322322
ts + pd.offsets.Day(1)
323323
324-
This change fixes a long-standing bug in ``pd.date_range`` (:issue:`51716`, :issue:`35388`), but causes several
324+
This change fixes a long-standing bug in :func:`date_range` (:issue:`51716`, :issue:`35388`), but causes several
325325
small behavior differences as collateral:
326326

327327
- ``pd.offsets.Day(n)`` no longer compares as equal to ``pd.offsets.Hour(24*n)``
@@ -330,7 +330,7 @@ small behavior differences as collateral:
330330
- :meth:`tseries.frequencies.to_offset` on a :class:`Timedelta` object returns a :class:`offsets.Hour` object in cases where it used to return a :class:`Day` object.
331331
- Adding or subtracting a scalar from a timezone-aware :class:`DatetimeIndex` with a :class:`Day` ``freq`` no longer preserves that ``freq`` attribute.
332332
- Adding or subtracting a :class:`Day` with a :class:`Timedelta` is no longer supported.
333-
- Adding or subtracting a :class:`Day` offset to a :class:`Timestamp` or datetime-like may lead to an ambiguous or non-existent time, which will raise.
333+
- Adding or subtracting a :class:`Day` offset to a timezone-aware :class:`Timestamp` or datetime-like may lead to an ambiguous or non-existent time, which will raise.
334334

335335
.. _whatsnew_300.api_breaking.deps:
336336

0 commit comments

Comments
 (0)