mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.13] Minor documentation improvements (GH-140626) (#141161)
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / Android (aarch64) (push) Blocked by required conditions
Tests / Android (x86_64) (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
This commit is contained in:
parent
00032a4245
commit
e753887bd2
1 changed files with 5 additions and 5 deletions
|
|
@ -42,6 +42,11 @@ populated list into a heap via function :func:`heapify`.
|
|||
The following functions are provided:
|
||||
|
||||
|
||||
.. function:: heapify(x)
|
||||
|
||||
Transform list *x* into a heap, in-place, in linear time.
|
||||
|
||||
|
||||
.. function:: heappush(heap, item)
|
||||
|
||||
Push the value *item* onto the *heap*, maintaining the heap invariant.
|
||||
|
|
@ -61,11 +66,6 @@ The following functions are provided:
|
|||
followed by a separate call to :func:`heappop`.
|
||||
|
||||
|
||||
.. function:: heapify(x)
|
||||
|
||||
Transform list *x* into a heap, in-place, in linear time.
|
||||
|
||||
|
||||
.. function:: heapreplace(heap, item)
|
||||
|
||||
Pop and return the smallest item from the *heap*, and also push the new *item*.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue