mirror of https://github.com/python/cpython
Relocate a couple of stars and remove redundant backticks
This commit is contained in:
parent
a8e34b707c
commit
99af64820a
|
@ -133,27 +133,27 @@ Long Integer Objects
|
||||||
and ``-1`` will be returned.
|
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
|
Return a C :ctype:`long` representation of the contents of
|
||||||
*pylong*. If *pylong* is greater than :const:`LONG_MAX` or less
|
*pylong*. If *pylong* is greater than :const:`LONG_MAX` or less
|
||||||
than :const:`LONG_MIN`, set `*overflow` to ``1`` or ``-1``,
|
than :const:`LONG_MIN`, set `*overflow` to ``1`` or ``-1``,
|
||||||
respectively, and return ``-1``; otherwise, set `*overflow` to
|
respectively, and return ``-1``; otherwise, set `*overflow` to
|
||||||
``0``. If any other exception occurs (for example a TypeError or
|
``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``.
|
be ``0``.
|
||||||
|
|
||||||
.. versionadded:: 2.7
|
.. 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
|
Return a C :ctype:`long long` representation of the contents of
|
||||||
*pylong*. If *pylong* is greater than :const:`PY_LLONG_MAX` or less
|
*pylong*. If *pylong* is greater than :const:`PY_LLONG_MAX` or less
|
||||||
than :const:`PY_LLONG_MIN`, set `*overflow` to ``1`` or ``-1``,
|
than :const:`PY_LLONG_MIN`, set `*overflow` to ``1`` or ``-1``,
|
||||||
respectively, and return ``-1``; otherwise, set `*overflow` to
|
respectively, and return ``-1``; otherwise, set `*overflow` to
|
||||||
``0``. If any other exception occurs (for example a TypeError or
|
``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``.
|
be ``0``.
|
||||||
|
|
||||||
.. versionadded:: 2.7
|
.. versionadded:: 2.7
|
||||||
|
|
Loading…
Reference in New Issue