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

Skip to content

Commit 6530717

Browse files
committed
'I' and 'L' now always return a Python long.
1 parent b0b8181 commit 6530717

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

Doc/lib/libstruct.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ \section{Built-in Module \sectcode{struct}}
7070
string (while \code{'0c'} means 0 characters).
7171

7272
For the \code{'I'} and \code{'L'} format characters, the return
73-
value is a Python long integer if a Python plain integer can't
74-
represent the required range (note: this is dependent on the size of
75-
the relevant C types only, not of the sign of the actual value).
73+
value is a Python long integer.
7674

7775
By default, C numbers are represented in the machine's native format
7876
and byte order, and properly aligned by skipping pad bytes if

Doc/libstruct.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ \section{Built-in Module \sectcode{struct}}
7070
string (while \code{'0c'} means 0 characters).
7171

7272
For the \code{'I'} and \code{'L'} format characters, the return
73-
value is a Python long integer if a Python plain integer can't
74-
represent the required range (note: this is dependent on the size of
75-
the relevant C types only, not of the sign of the actual value).
73+
value is a Python long integer.
7674

7775
By default, C numbers are represented in the machine's native format
7876
and byte order, and properly aligned by skipping pad bytes if

0 commit comments

Comments
 (0)