mirror of https://github.com/python/cpython
Deprecate SV for removal in 3.0.
This commit is contained in:
parent
cd2de08257
commit
518c5da219
|
@ -1,3 +1,7 @@
|
|||
from warnings import warnpy3k
|
||||
warnpy3k("the SV module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
NTSC_XMAX = 640
|
||||
NTSC_YMAX = 480
|
||||
PAL_XMAX = 768
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
from warnings import warnpy3k
|
||||
warnpy3k("the SV module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
NTSC_XMAX = 640
|
||||
NTSC_YMAX = 480
|
||||
PAL_XMAX = 768
|
||||
|
|
|
@ -136,7 +136,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
||||
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
|
||||
'IOCTL', 'jpeg', 'panel', 'panelparser',
|
||||
'readcd'),
|
||||
'readcd', 'SV'),
|
||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||
'aetools', 'aetypes', 'applesingle',
|
||||
|
|
Loading…
Reference in New Issue