File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ All integers are implemented as "long" integer objects of arbitrary size.
133133 single: PY_SSIZE_T_MAX
134134 single: OverflowError (built-in exception)
135135
136- Return a C :ctype: `Py_ssize_t ` representation of the contents of *pylong *. If
137- *pylong * is greater than :const: `PY_SSIZE_T_MAX `, an :exc: `OverflowError ` is raised
138- and ``-1 `` will be returned.
136+ Return a C :ctype: `Py_ssize_t ` representation of the contents of *pylong *.
137+ If *pylong * is greater than :const: `PY_SSIZE_T_MAX `, an :exc: `OverflowError `
138+ is raised and ``-1 `` will be returned.
139139
140140
141141.. cfunction :: unsigned long PyLong_AsUnsignedLong(PyObject *pylong)
@@ -149,16 +149,6 @@ All integers are implemented as "long" integer objects of arbitrary size.
149149 raised.
150150
151151
152- .. cfunction :: Py_ssize_t PyLong_AsSsize_t(PyObject *pylong)
153-
154- .. index ::
155- single: PY_SSIZE_T_MAX
156-
157- Return a :ctype: `Py_ssize_t ` representation of the contents of *pylong *. If
158- *pylong * is greater than :const: `PY_SSIZE_T_MAX `, an :exc: `OverflowError ` is
159- raised.
160-
161-
162152.. cfunction :: size_t PyLong_AsSize_t(PyObject *pylong)
163153
164154 Return a :ctype: `size_t ` representation of the contents of *pylong *. If
You can’t perform that action at this time.
0 commit comments