gh-128813: soft-deprecate _Py_c_*() functions (GH-137261)

This commit is contained in:
Sergey B Kirpichev 2025-08-01 10:40:12 +03:00 committed by GitHub
parent 2a87af062b
commit 9ced5c4ace
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 39 additions and 1 deletions

View file

@ -7,7 +7,8 @@ typedef struct {
double imag;
} Py_complex;
// Operations on complex numbers.
/* Operations on complex numbers (soft deprecated
since Python 3.15). */
PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex);
PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex);
PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex);