Skip to content

Commit 6f0a4c1

Browse files
authored
Refs #35648 -- Corrected release notes for SafeString.__add__() changes.
1 parent ca47884 commit 6f0a4c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/releases/5.2.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ URLs
262262
Utilities
263263
~~~~~~~~~
264264

265-
* :class:`~django.utils.safestring.SafeString` now raises
266-
:exc:`NotImplementedError` in ``__add__`` for non-string right-hand side
265+
* :class:`~django.utils.safestring.SafeString` now returns
266+
:py:data:`NotImplemented` in ``__add__`` for non-string right-hand side
267267
values. This aligns with the :py:class:`str` addition behavior and allows
268268
``__radd__`` to be used if available.
269269

0 commit comments

Comments
 (0)