Skip to content

Commit d774ab7

Browse files
committed
gh-150449: Fix wording in NEWS and whatsnew: 'crash' → 'raise SystemError or ValueError'
1 parent 5087b42 commit d774ab7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/whatsnew/3.16.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ sqlite3
105105
-------
106106

107107
* :class:`sqlite3.Blob` now supports negative-step slices for reading and
108-
writing (e.g. ``blob[9:0:-2]``). Previously, such slices would crash or
109-
raise :exc:`SystemError`.
108+
writing (e.g. ``blob[9:0:-2]``). Previously, such slices would raise
109+
:exc:`SystemError` or :exc:`ValueError`.
110110
(Contributed by Jiseok CHOI in :gh:`150449`.)
111111

112112
.. Add improved modules above alphabetically, not here at the end.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:class:`sqlite3.Blob` now supports negative-step slices for reading and
2-
writing (e.g. ``blob[9:0:-2]``). Previously, such slices would crash with
3-
:exc:`SystemError` or raise :exc:`ValueError`.
2+
writing (e.g. ``blob[9:0:-2]``). Previously, such slices would raise
3+
:exc:`SystemError` or :exc:`ValueError`.

0 commit comments

Comments
 (0)