diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-30 13:08:54 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-01-30 13:08:54 (GMT) |
commit | 99af64820a7d47954de6f411903f6cc407c9bab8 (patch) | |
tree | 5c3d4688d2b78928f81459d087137e4f723da9ad /Doc | |
parent | a8e34b707c89d50fe236ce1e817ac53a3a036c25 (diff) | |
download | cpython-99af64820a7d47954de6f411903f6cc407c9bab8.zip cpython-99af64820a7d47954de6f411903f6cc407c9bab8.tar.gz cpython-99af64820a7d47954de6f411903f6cc407c9bab8.tar.bz2 |
Relocate a couple of stars and remove redundant backticks
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/long.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index b8fced5..51c88c9 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -133,27 +133,27 @@ Long Integer Objects and ``-1`` will be returned. -.. cfunction:: long PyLong_AsLongAndOverflow(PyObject *pylong, int* overflow) +.. cfunction:: long PyLong_AsLongAndOverflow(PyObject *pylong, int *overflow) Return a C :ctype:`long` representation of the contents of *pylong*. If *pylong* is greater than :const:`LONG_MAX` or less than :const:`LONG_MIN`, set `*overflow` to ``1`` or ``-1``, respectively, and return ``-1``; otherwise, set `*overflow` to ``0``. If any other exception occurs (for example a TypeError or - MemoryError), then ``-1`` will be returned and ``*overflow`` will + MemoryError), then ``-1`` will be returned and `*overflow` will be ``0``. .. versionadded:: 2.7 -.. cfunction:: PY_LONG_LONG PyLong_AsLongLongAndOverflow(PyObject *pylong, int* overflow) +.. cfunction:: PY_LONG_LONG PyLong_AsLongLongAndOverflow(PyObject *pylong, int *overflow) Return a C :ctype:`long long` representation of the contents of *pylong*. If *pylong* is greater than :const:`PY_LLONG_MAX` or less than :const:`PY_LLONG_MIN`, set `*overflow` to ``1`` or ``-1``, respectively, and return ``-1``; otherwise, set `*overflow` to ``0``. If any other exception occurs (for example a TypeError or - MemoryError), then ``-1`` will be returned and ``*overflow`` will + MemoryError), then ``-1`` will be returned and `*overflow` will be ``0``. .. versionadded:: 2.7 |