Rename 'proto' keyword arg to 'protocol' . Greg Ward's suggestion.
This commit is contained in:
parent
0e447664fe
commit
ab58904812
|
@ -80,7 +80,8 @@ Protocol versions
|
|||
Several functions, methods and constructors used for pickling used
|
||||
to take a positional argument named 'bin' which was a flag,
|
||||
defaulting to 0, indicating binary mode. This argument is renamed
|
||||
to 'proto' and now gives the protocol number, still defaulting to 0.
|
||||
to 'protocol' and now gives the protocol number, still defaulting
|
||||
to 0.
|
||||
|
||||
It so happens that passing 2 for the 'bin' argument in previous
|
||||
Python versions had the same effect as passing 1. Nevertheless, a
|
||||
|
|
Loading…
Reference in New Issue