Add _Pickler and _Unpickler to stdlib/pickle (#5506)

These are the pure-Python pickle implementation, and are sometimes used
by code that wants to extend or override parts of the
pickling/unpickling process.
This commit is contained in:
David Reiss
2021-05-19 10:57:07 -07:00
committed by GitHub
parent 8d6314b8f3
commit 1547035a95

View File

@@ -169,3 +169,6 @@ FRAME: bytes
def encode_long(x: int) -> bytes: ... # undocumented
def decode_long(data: bytes) -> int: ... # undocumented
_Pickler = Pickler # undocumented
_Unpickler = Unpickler # undocumented