Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstruct.tex @ 4878:a9e7e0ccaa4a legacy-trunk
'I' and 'L' now always return a Python long.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 03 Jan 1997 19:21:53 +0000 |
| parents | 3960340a3252 |
| children | 3468ea8645ca |
line wrap: on
line diff
--- a/Doc/lib/libstruct.tex Fri Jan 03 19:20:52 1997 +0000 +++ b/Doc/lib/libstruct.tex Fri Jan 03 19:21:53 1997 +0000 @@ -70,9 +70,7 @@ 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
