Skip to content

Commit 68126b0

Browse files
committed
-
1 parent 91cab8e commit 68126b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_toolbox/pickle_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
def compickle(thing):
1212
'''Pickle `thing` and compress it using `zlib`.'''
13-
return zlib.compress(pickle_module.dumps(thing, protocol=2))
13+
return zlib.compress(pickle_module.dumps(thing, protocol=5))
1414

1515
def decompickle(thing):
1616
'''Unpickle `thing` after decompressing it using `zlib`.'''

0 commit comments

Comments
 (0)