summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-01-03 19:21:53 (GMT)
committerGuido van Rossum <guido@python.org>1997-01-03 19:21:53 (GMT)
commit653071731afb95dd9a5dd0453c881f1c50315519 (patch)
tree768ab74cc08d31988ff0c06dd7a51499480c3c90 /Doc/lib
parentb0b8181622da1df14de1ccadbfc0fc8e697f8748 (diff)
downloadcpython-653071731afb95dd9a5dd0453c881f1c50315519.zip
cpython-653071731afb95dd9a5dd0453c881f1c50315519.tar.gz
cpython-653071731afb95dd9a5dd0453c881f1c50315519.tar.bz2
'I' and 'L' now always return a Python long.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libstruct.tex4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/lib/libstruct.tex b/Doc/lib/libstruct.tex
index 6431ca5..f7879f1 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