]> granicus.if.org Git - python/commitdiff
'I' and 'L' now always return a Python long.
authorGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 19:21:53 +0000 (19:21 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 3 Jan 1997 19:21:53 +0000 (19:21 +0000)
Doc/lib/libstruct.tex
Doc/libstruct.tex

index 6431ca5587c40d5d2011c02a75684c3e39a6e5cd..f7879f1eda1904d8b12a5d8a220e0dd317fdacb5 100644 (file)
@@ -70,9 +70,7 @@ number of bytes.  As a special case, \code{'0s'} means a single, empty
 string (while \code{'0c'} means 0 characters).
 
 For the \code{'I'} and \code{'L'} format characters, the return
-value is a Python long integer if a Python plain integer can't
-represent the required range (note: this is dependent on the size of
-the relevant C types only, not of the sign of the actual value).
+value is a Python long integer.
 
 By default, C numbers are represented in the machine's native format
 and byte order, and properly aligned by skipping pad bytes if
index 6431ca5587c40d5d2011c02a75684c3e39a6e5cd..f7879f1eda1904d8b12a5d8a220e0dd317fdacb5 100644 (file)
@@ -70,9 +70,7 @@ number of bytes.  As a special case, \code{'0s'} means a single, empty
 string (while \code{'0c'} means 0 characters).
 
 For the \code{'I'} and \code{'L'} format characters, the return
-value is a Python long integer if a Python plain integer can't
-represent the required range (note: this is dependent on the size of
-the relevant C types only, not of the sign of the actual value).
+value is a Python long integer.
 
 By default, C numbers are represented in the machine's native format
 and byte order, and properly aligned by skipping pad bytes if