Skip to content

Commit 58d761e

Browse files
authored
GH-84783: Document GH-101264 (Make the slice object hashable) in What's New. (#102548)
1 parent 5e5acd2 commit 58d761e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/whatsnew/3.12.rst

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ Other Language Changes
189189
part of comprehensions (like ``a``) is still disallowed, as per :pep:`572`.
190190
(Contributed by Nikita Sobolev in :gh:`100581`.)
191191

192+
* :class:`slice` objects are now hashable, allowing them to be used as dict keys and
193+
set items. (Contributed by Furkan Onder in :gh:`101264`.)
192194

193195
New Modules
194196
===========

0 commit comments

Comments
 (0)