Skip to content

Commit

Permalink
GH-84783: Document GH-101264 (Make the slice object hashable) in What…
Browse files Browse the repository at this point in the history
…'s New. (#102548)
  • Loading branch information
Yhg1s committed Mar 9, 2023
1 parent 5e5acd2 commit 58d761e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ Other Language Changes
part of comprehensions (like ``a``) is still disallowed, as per :pep:`572`.
(Contributed by Nikita Sobolev in :gh:`100581`.)

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

New Modules
===========
Expand Down

0 comments on commit 58d761e

Please sign in to comment.