summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-02-07 23:14:30 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-02-07 23:14:30 (GMT)
commit352674d01cd37cc8621e8b94c1a91fef5ffc16fe (patch)
treef0f8071d7c55a89eddd438b9dfe1c16481145cd9 /Lib/pickle.py
parentcc012e92b21fbd8476bbaa8d4aa91b7e78111182 (diff)
downloadcpython-352674d01cd37cc8621e8b94c1a91fef5ffc16fe.zip
cpython-352674d01cd37cc8621e8b94c1a91fef5ffc16fe.tar.gz
cpython-352674d01cd37cc8621e8b94c1a91fef5ffc16fe.tar.bz2
a few more __all__ lists
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 1ec5b49..b0c6a79 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -31,6 +31,9 @@ import marshal
import sys
import struct
+__all__ = ["PickleError", "PicklingError", "UnpicklingError", "Pickler",
+ "Unpickler", "dump", "dumps", "load", "loads"]
+
format_version = "1.3" # File format version we write
compatible_formats = ["1.0", "1.1", "1.2"] # Old format versions we can read