diff options
author | T. Wouters <thomas@python.org> | 2023-03-09 02:39:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 02:39:33 (GMT) |
commit | 58d761e5b5f253892a697941c71bac0159a1d74e (patch) | |
tree | b3247c5d6becb99283d0d15274dfaeac654f1b4b | |
parent | 5e5acd291f4387876afc641163e9f8ae5c65086c (diff) | |
download | cpython-58d761e5b5f253892a697941c71bac0159a1d74e.zip cpython-58d761e5b5f253892a697941c71bac0159a1d74e.tar.gz cpython-58d761e5b5f253892a697941c71bac0159a1d74e.tar.bz2 |
GH-84783: Document GH-101264 (Make the slice object hashable) in What's New. (#102548)
-rw-r--r-- | Doc/whatsnew/3.12.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index c0c021c..d982cb6 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -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 =========== |