Skip to content

Commit 0bbcc4c

Browse files
committed
Remove a couple of references to long in the c-api docs
1 parent 9953a8d commit 0bbcc4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/number.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Number Protocol
252252

253253
.. cfunction:: PyObject* PyNumber_Index(PyObject *o)
254254

255-
Returns the *o* converted to a Python int or long on success or *NULL* with a
255+
Returns the *o* converted to a Python int on success or *NULL* with a
256256
:exc:`TypeError` exception raised on failure.
257257

258258

@@ -268,7 +268,7 @@ Number Protocol
268268
.. cfunction:: Py_ssize_t PyNumber_AsSsize_t(PyObject *o, PyObject *exc)
269269

270270
Returns *o* converted to a Py_ssize_t value if *o* can be interpreted as an
271-
integer. If *o* can be converted to a Python int or long but the attempt to
271+
integer. If *o* can be converted to a Python int but the attempt to
272272
convert to a Py_ssize_t value would raise an :exc:`OverflowError`, then the
273273
*exc* argument is the type of exception that will be raised (usually
274274
:exc:`IndexError` or :exc:`OverflowError`). If *exc* is *NULL*, then the

0 commit comments

Comments
 (0)