From 1258ea5228aaf7b26c3c4ac2d6cdcd231cd02482 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 26 Apr 2013 23:10:52 +0200 Subject: [PATCH] Protocol 4 has number four in its header --- pep-3154.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-3154.txt b/pep-3154.txt index 9d919bf4a..a854dd71b 100644 --- a/pep-3154.txt +++ b/pep-3154.txt @@ -57,7 +57,7 @@ Protocol 4, by contrast, features binary framing. The general structure of a pickle is thus the following:: +------+------+ - | 0x80 | 0x03 | protocol header (2 bytes) + | 0x80 | 0x04 | protocol header (2 bytes) +------+------+-----------+ | AA BB CC DD EE FF GG HH | frame size (8 bytes, little-endian) +------+------------------+