diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-04-10 04:35:28 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-04-10 04:35:28 (GMT) |
commit | d8ae7c2999b0362c098e57d64f49a710ce8238d0 (patch) | |
tree | 786bb584e8b811fc08a2ff4cc3beb9e114ef784c /Modules | |
parent | 3906eb877a7010dae5faf7ff2d48634d56ed5ec2 (diff) | |
download | cpython-d8ae7c2999b0362c098e57d64f49a710ce8238d0.zip cpython-d8ae7c2999b0362c098e57d64f49a710ce8238d0.tar.gz cpython-d8ae7c2999b0362c098e57d64f49a710ce8238d0.tar.bz2 |
Ack -- this module mixes tabs and spaces, and what appears to be a mix
of 2-space and 4-space indents. Whatever, when I saw the checkin diff it
was clear that what my editor thinks a tab means didn't match this module's
belief. Removed all the tabs from the lines I added and changed, left
everything else alone.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cPickle.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c index c61035d..46f2cc0 100644 --- a/Modules/cPickle.c +++ b/Modules/cPickle.c @@ -73,14 +73,14 @@ NOTES on format codes. XXX much more is needed here Integer types -BININT1 8-bit unsigned integer; followed by 1 byte. +BININT1 8-bit unsigned integer; followed by 1 byte. BININT2 16-bit unsigned integer; followed by 2 bytes, little-endian. -BININT 32-bit signed integer; followed by 4 bytes, little-endian. -INT Integer; natural decimal string conversion, then newline. +BININT 32-bit signed integer; followed by 4 bytes, little-endian. +INT Integer; natural decimal string conversion, then newline. CAUTION: INT-reading code can't assume that what follows fits in a Python int, because the size of Python ints varies across platforms. -LONG Long (unbounded) integer; repr(i), then newline. +LONG Long (unbounded) integer; repr(i), then newline. -------------------------------------------------------------------------- */ #define MARK '(' @@ -931,7 +931,7 @@ save_int(Picklerobject *self, PyObject *args) { return -1; } else { - /* Binary pickle and l fits in a signed 4-byte int. */ + /* Binary pickle and l fits in a signed 4-byte int. */ c_str[1] = (int)( l & 0xff); c_str[2] = (int)((l >> 8) & 0xff); c_str[3] = (int)((l >> 16) & 0xff); |