Deprecate readcd for removal in 3.0.
This commit is contained in:
parent
11ae6e7151
commit
cd2de08257
|
@ -1,4 +1,7 @@
|
|||
# Class interface to the CD module.
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the readcd module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
import cd, CD
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# Class interface to the CD module.
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the readcd module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
import cd, CD
|
||||
|
||||
|
|
|
@ -135,7 +135,8 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
|
||||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
||||
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
|
||||
'IOCTL', 'jpeg', 'panel'),
|
||||
'IOCTL', 'jpeg', 'panel', 'panelparser',
|
||||
'readcd'),
|
||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||
'aetools', 'aetypes', 'applesingle',
|
||||
|
|
Loading…
Reference in New Issue