8000 GH-84783: Make the slice object hashable by furkanonder · Pull Request #101264 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-84783: Make the slice object hashable #101264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Feb 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update version changed to slice's doc
  • Loading branch information
furkanonder authored Feb 12, 2023
commit f0302bf776ec804630c75f6daf50e888b863143b
1 change: 0 additions & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,6 @@ are always available. They are listed here in alphabetical order.
.. versionchanged:: 3.12
Slice objects are now :term:`hashable` (provided :attr:`~slice.start`,
:attr:`~slice.stop`, and :attr:`~slice.step` are hashable).
The slice object can be :term:`hashable`.

.. function:: sorted(iterable, /, *, key=None, reverse=False)

Expand Down
0