summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index ab5fcb6..cfad6ed 100644
--- 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))