File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -489,11 +489,11 @@ and the following format units are left untouched.
489489 ``H `` (integer) [unsigned short int]
490490 Convert a C :ctype: `unsigned short int ` to a Python integer object.
491491
492- ``I `` (integer/long ) [unsigned int]
493- Convert a C :ctype: `unsigned int ` to a Python long integer object.
492+ ``I `` (integer) [unsigned int]
493+ Convert a C :ctype: `unsigned int ` to a Python integer object.
494494
495- ``k `` (integer/long ) [unsigned long]
496- Convert a C :ctype: `unsigned long ` to a Python long integer object.
495+ ``k `` (integer) [unsigned long]
496+ Convert a C :ctype: `unsigned long ` to a Python integer object.
497497
498498 ``L `` (long) [PY_LONG_LONG]
499499 Convert a C :ctype: `long long ` to a Python integer object. Only available
Original file line number Diff line number Diff line change @@ -607,7 +607,7 @@ extra checks are performed:
607607
608608* Sanity checks of the input arguments are added to frame creation.
609609
610- * The storage for long ints is initialized with a known invalid pattern to catch
610+ * The storage for ints is initialized with a known invalid pattern to catch
611611 reference to uninitialized digits.
612612
613613* Low-level tracing and extra exception checking are added to the runtime
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ type objects) *must* have the :attr:`ob_size` field.
135135 :attr: `ob_size ` field, and the instance size is :attr: `tp_basicsize ` plus N
136136 times :attr: `tp_itemsize `, where N is the "length" of the object. The value of
137137 N is typically stored in the instance's :attr: `ob_size ` field. There are
138- exceptions: for example, long ints use a negative :attr: `ob_size ` to indicate a
138+ exceptions: for example, ints use a negative :attr: `ob_size ` to indicate a
139139 negative number, and N is ``abs(ob_size) `` there. Also, the presence of an
140140 :attr: `ob_size ` field in the instance layout doesn't mean that the instance
141141 structure is variable-length (for example, the structure for the list type has
@@ -812,7 +812,7 @@ type objects) *must* have the :attr:`ob_size` field.
812812
813813 where :attr: `tp_basicsize `, :attr: `tp_itemsize ` and :attr: `tp_dictoffset ` are
814814 taken from the type object, and :attr: `ob_size ` is taken from the instance. The
815- absolute value is taken because long ints use the sign of :attr: `ob_size ` to
815+ absolute value is taken because ints use the sign of :attr: `ob_size ` to
816816 store the sign of the number. (There's never a need to do this calculation
817817 yourself; it is done for you by :cfunc: `_PyObject_GetDictPtr `.)
818818
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ Number-theoretic and representation functions
118118.. function :: trunc(x)
119119
120120 Return the :class: `Real ` value *x * truncated to an :class: `Integral ` (usually
121- a long integer). Delegates to ``x.__trunc__() ``.
121+ an integer). Delegates to ``x.__trunc__() ``.
122122
123123
124124Note that :func: `frexp ` and :func: `modf ` have a different call/return pattern
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ which format specific object types.
6565
6666.. attribute :: Repr.maxlong
6767
68- Maximum number of characters in the representation for a long integer. Digits
68+ Maximum number of characters in the representation for an integer. Digits
6969 are dropped from the middle. The default is ``40 ``.
7070
7171
You can’t perform that action at this time.
0 commit comments