projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fda7bc
)
Fixed odd whitespace after "if", which I believe I introduced long ago.
author
Tim Peters
<tim.peters@gmail.com>
Tue, 28 Jan 2003 03:41:54 +0000
(
03:41
+0000)
committer
Tim Peters
<tim.peters@gmail.com>
Tue, 28 Jan 2003 03:41:54 +0000
(
03:41
+0000)
Lib/pickle.py
patch
|
blob
|
history
diff --git
a/Lib/pickle.py
b/Lib/pickle.py
index ab5fcb6113b353787536699e788f573d6ee130b9..cfad6ed9c2b3812bccb08bee6a5b0d932014c3bc 100644
(file)
--- a/
Lib/pickle.py
+++ b/
Lib/pickle.py
@@
-376,7
+376,7
@@
class Pickler:
return
# Next check for 4-byte signed ints:
high_bits = object >> 31 # note that Python shift sign-extends
- if
high_bits == 0 or high_bits == -1:
+ if high_bits == 0 or high_bits == -1:
# All high bits are copies of bit 2**31, so the value
# fits in a 4-byte signed int.
self.write(BININT + pack("<i", object))