Skip to content

Commit 7e4ceff

Browse files
committed
DOC: Add protocol value '5' to pickle pandas-dev#37316
1 parent 10717de commit 7e4ceff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2635,7 +2635,7 @@ def to_pickle(
26352635
protocol : int
26362636
Int which indicates which protocol should be used by the pickler,
26372637
default HIGHEST_PROTOCOL (see [1]_ paragraph 12.1.2). The possible
2638-
values are 0, 1, 2, 3, 4. A negative value for the protocol
2638+
values are 0, 1, 2, 3, 4, 5. A negative value for the protocol
26392639
parameter is equivalent to setting its value to HIGHEST_PROTOCOL.
26402640
26412641
.. [1] https://docs.python.org/3/library/pickle.html.

0 commit comments

Comments
 (0)