Skip to content

Commit 1547035

Browse files
authored
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.
1 parent 8d6314b commit 1547035

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/pickle.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,6 @@ FRAME: bytes
169169

170170
def encode_long(x: int) -> bytes: ... # undocumented
171171
def decode_long(data: bytes) -> int: ... # undocumented
172+
173+
_Pickler = Pickler # undocumented
174+
_Unpickler = Unpickler # undocumented

0 commit comments

Comments
 (0)