mirror of
https://github.com/python/cpython.git
synced 2024-11-30 21:34:17 +08:00
c8718c3ddd
values are gotten from the cl module. CL_old is there in case cl doesn't exist.
25 lines
450 B
Python
Executable File
25 lines
450 B
Python
Executable File
# Backward compatible module CL.
|
|
# All relevant symbols are now defined in the module cl.
|
|
try:
|
|
from cl import *
|
|
except ImportError:
|
|
from CL_old import *
|
|
else:
|
|
del CompressImage
|
|
del DecompressImage
|
|
del GetAlgorithmName
|
|
del OpenCompressor
|
|
del OpenDecompressor
|
|
del QueryAlgorithms
|
|
del QueryMaxHeaderSize
|
|
del QueryScheme
|
|
del QuerySchemeFromName
|
|
del SetDefault
|
|
del SetMax
|
|
del SetMin
|
|
try:
|
|
del cvt_type
|
|
except NameError:
|
|
pass
|
|
del error
|