File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments