Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea30c6f

Browse files
committed
Merged revisions 77850-77851 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r77850 | ezio.melotti | 2010-01-30 15:08:54 +0200 (Sat, 30 Jan 2010) | 1 line Relocate a couple of stars and remove redundant backticks ........ r77851 | ezio.melotti | 2010-01-30 15:27:05 +0200 (Sat, 30 Jan 2010) | 1 line Use the correct markup for args ........
1 parent 16a060d commit ea30c6f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Doc/c-api/long.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ All integers are implemented as "long" integer objects of arbitrary size.
8484

8585
Return a new :ctype:`PyLongObject` based on the string value in *str*, which
8686
is interpreted according to the radix in *base*. If *pend* is non-*NULL*,
87-
``*pend`` will point to the first character in *str* which follows the
87+
*\*pend* will point to the first character in *str* which follows the
8888
representation of the number. If *base* is ``0``, the radix will be
8989
determined based on the leading characters of *str*: if *str* starts with
9090
``'0x'`` or ``'0X'``, radix 16 will be used; if *str* starts with ``'0o'`` or
@@ -119,25 +119,25 @@ All integers are implemented as "long" integer objects of arbitrary size.
119119
and return -1. Convert non-long objects automatically to long first,
120120
and return -1 if that raises exceptions.
121121

122-
.. cfunction:: long PyLong_AsLongAndOverflow(PyObject *pylong, int* overflow)
122+
.. cfunction:: long PyLong_AsLongAndOverflow(PyObject *pylong, int *overflow)
123123

124124
Return a C :ctype:`long` representation of the contents of
125125
*pylong*. If *pylong* is greater than :const:`LONG_MAX` or less
126-
than :const:`LONG_MIN`, set `*overflow` to ``1`` or ``-1``,
127-
respectively, and return ``-1``; otherwise, set `*overflow` to
126+
than :const:`LONG_MIN`, set *\*overflow* to ``1`` or ``-1``,
127+
respectively, and return ``-1``; otherwise, set *\*overflow* to
128128
``0``. If any other exception occurs (for example a TypeError or
129-
MemoryError), then ``-1`` will be returned and ``*overflow`` will
129+
MemoryError), then ``-1`` will be returned and *\*overflow* will
130130
be ``0``.
131131

132132

133-
.. cfunction:: PY_LONG_LONG PyLong_AsLongLongAndOverflow(PyObject *pylong, int* overflow)
133+
.. cfunction:: PY_LONG_LONG PyLong_AsLongLongAndOverflow(PyObject *pylong, int *overflow)
134134

135135
Return a C :ctype:`long long` representation of the contents of
136136
*pylong*. If *pylong* is greater than :const:`PY_LLONG_MAX` or less
137-
than :const:`PY_LLONG_MIN`, set `*overflow` to ``1`` or ``-1``,
138-
respectively, and return ``-1``; otherwise, set `*overflow` to
137+
than :const:`PY_LLONG_MIN`, set *\*overflow* to ``1`` or ``-1``,
138+
respectively, and return ``-1``; otherwise, set *\*overflow* to
139139
``0``. If any other exception occurs (for example a TypeError or
140-
MemoryError), then ``-1`` will be returned and ``*overflow`` will
140+
MemoryError), then ``-1`` will be returned and *\*overflow* will
141141
be ``0``.
142142

143143
.. versionadded:: 3.2

0 commit comments

Comments
 (0)