PageRenderTime 413ms CodeModel.GetById 173ms app.highlight 2ms RepoModel.GetById 169ms app.codeStats 0ms

/Lib/plat-irix6/CL.py

http://unladen-swallow.googlecode.com/
Python | 28 lines | 25 code | 1 blank | 2 comment | 0 complexity | 3e8b79ab225cae11aaa7e079898596ee MD5 | raw file
 1# Backward compatible module CL.
 2# All relevant symbols are now defined in the module cl.
 3from warnings import warnpy3k
 4warnpy3k("the CL module has been removed in Python 3.0", stacklevel=2)
 5del warnpy3k
 6
 7try:
 8    from cl import *
 9except ImportError:
10    from CL_old import *
11else:
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