Skip to content

Commit b800c15

Browse files
authored
Apply suggestion from code review
1 parent c0c25b1 commit b800c15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/c-api/long.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
188188
Exactly equivalent to the preferred ``PyLong_AsLong``. In particular,
189189
it can fail with :exc:`OverflowError` or another exception.
190190
191+
.. deprecated:: 3.14
192+
The function is soft deprecated.
193+
191194
.. c:function:: int PyLong_AsInt(PyObject *obj)
192195
193196
Similar to :c:func:`PyLong_AsLong`, but store the result in a C

0 commit comments

Comments
 (0)