summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/long.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/long.rst')
-rw-r--r--Doc/c-api/long.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index e2f58ad..72be017 100644
--- a/Doc/c-api/long.rst
+++ b/Doc/c-api/long.rst
@@ -189,7 +189,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
.. c:function:: size_t PyLong_AsSize_t(PyObject *pylong)
- Return a C :c:type:`size_t` representation of of *pylong*. *pylong* must be
+ Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be
an instance of :c:type:`PyLongObject`.
Raise :exc:`OverflowError` if the value of *pylong* is out of range for a
@@ -201,7 +201,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
.. index::
single: OverflowError (built-in exception)
- Return a C :c:type:`unsigned PY_LONG_LONG` representation of of *pylong*.
+ Return a C :c:type:`unsigned PY_LONG_LONG` representation of *pylong*.
*pylong* must be an instance of :c:type:`PyLongObject`.
Raise :exc:`OverflowError` if the value of *pylong* is out of range for an