Skip to content

Commit 6b3219d

Browse files
committed
address review: versionchanged and whatsnew entry
1 parent c0c0657 commit 6b3219d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/c-api/complex.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,6 @@ the :ref:`Number Protocol <number>` API or use native complex types, like
197197
Set :c:data:`errno` to :c:macro:`!ERANGE` on overflows.
198198
199199
.. deprecated:: 3.15
200+
201+
.. versionchanged:: 3.16
202+
This function leave :c:data:`errno` unchanged on success.

Doc/whatsnew/3.16.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,10 @@ Porting to Python 3.16
10181018
if the value cannot be marshalled.
10191019
(Contributed by Serhiy Storchaka in :gh:`155907`.)
10201020

1021+
* :c:func:`_Py_c_abs` no longer sets :c:data:`errno` to zero on success,
1022+
rather leave it unchanged.
1023+
(Contributed by Sergey B Kirpichev in :gh:`155526`.)
1024+
10211025
Deprecated C APIs
10221026
-----------------
10231027

0 commit comments

Comments
 (0)