Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion stdlib/pickle.pyi
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
import sys
from _pickle import (
PickleError as PickleError,
Pickler as Pickler,
Expand DownExpand Up@@ -103,7 +104,10 @@ __all__ = [
]

HIGHEST_PROTOCOL: Final = 5
DEFAULT_PROTOCOL: Final = 5
if sys.version_info >= (3, 14):
DEFAULT_PROTOCOL: Final = 5
else:
DEFAULT_PROTOCOL: Final = 4

bytes_types: tuple[type[Any], ...] # undocumented

Expand Down