FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-141004: Document `Py_MEMCPY` by StanFromIreland · Pull Request #141676 · python/cpython · GitHub

/ cpython Public
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
8 changes: 8 additions & 0 deletions Doc/c-api/intro.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,14 @@ complete listing.

.. versionadded:: 3.6

.. c:macro:: Py_MEMCPY(dest, src, n)

This is a :term:`soft deprecated` alias to :c:func:`!memcpy`.
Use :c:func:`!memcpy` directly instead.

.. deprecated:: 3.14
The macro is :term:`soft deprecated`.

.. c:macro:: Py_MIN(x, y)

Return the minimum value between ``x`` and ``y``.
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.14.0a1.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -6092,7 +6092,7 @@ Patch by Victor Stinner.
.. nonce: qOr9GF
.. section: C API

Soft deprecate the :c:macro:`!Py_MEMCPY` macro: use directly ``memcpy()``
Soft deprecate the :c:macro:`Py_MEMCPY` macro: use directly ``memcpy()``
instead. Patch by Victor Stinner.

..
Expand Down
Loading

Back | FazBrowse Home | New Git URL