Remove use of callable() from pickle to silence warnings under -3.
[python.git] / Lib / plat-irix6 / CL.py
blob15130e4306eaa9786e85e7568473fe0d3832bd9c
1 # Backward compatible module CL.
2 # All relevant symbols are now defined in the module cl.
3 from warnings import warnpy3k
4 warnpy3k("the CL module has been removed in Python 3.0", stacklevel=2)
5 del warnpy3k
7 try:
8 from cl import *
9 except ImportError:
10 from CL_old import *
11 else:
12 del CompressImage
13 del DecompressImage
14 del GetAlgorithmName
15 del OpenCompressor
16 del OpenDecompressor
17 del QueryAlgorithms
18 del QueryMaxHeaderSize
19 del QueryScheme
20 del QuerySchemeFromName
21 del SetDefault
22 del SetMax
23 del SetMin
24 try:
25 del cvt_type
26 except NameError:
27 pass
28 del error