From 653071731afb95dd9a5dd0453c881f1c50315519 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 3 Jan 1997 19:21:53 +0000 Subject: [PATCH] 'I' and 'L' now always return a Python long. --- Doc/lib/libstruct.tex | 4 +--- Doc/libstruct.tex | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Doc/lib/libstruct.tex b/Doc/lib/libstruct.tex index 6431ca5587c..f7879f1eda1 100644 --- a/Doc/lib/libstruct.tex +++ b/Doc/lib/libstruct.tex @@ -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 diff --git a/Doc/libstruct.tex b/Doc/libstruct.tex index 6431ca5587c..f7879f1eda1 100644 --- a/Doc/libstruct.tex +++ b/Doc/libstruct.tex @@ -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