]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101777: Make `PriorityQueue` docs slightly clearer (GH-102026)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Feb 2023 10:31:51 +0000 (02:31 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2023 10:31:51 +0000 (02:31 -0800)
commit2d9f8d4d3882968dbc8fb2bceeb51d4c31fcd7b1
treec85eab5ee49b658793b8090f90908e9058593390
parentd9dce23643c319ff4f721ad65a7f9811e8adfc53
gh-101777: Make `PriorityQueue` docs slightly clearer (GH-102026)

Adjust wording slightly, and use min(entries) instead of
sorted(list(entries))[0] as an example.
(cherry picked from commit 350ba7c07f8983537883e093c5c623287a2a22e5)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
Doc/library/queue.rst