diff options
| author | Brett Cannon <bcannon@gmail.com> | 2008-05-15 03:41:55 +0000 |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2008-05-15 03:41:55 +0000 |
| commit | d8c41ecc1770d6661273a56cf77c177fb6291b30 (patch) | |
| tree | f6309c3aae46b3c360932544fea8ea07b421f7ce /Lib/plat-irix5 | |
| parent | 6328b297dc9155f2a9e9ae535580dd685dcc24e0 (diff) | |
| download | cpython-git-d8c41ecc1770d6661273a56cf77c177fb6291b30.tar.gz | |
Deprecate IOCTL from IRIX for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
| -rwxr-xr-x | Lib/plat-irix5/IOCTL.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix5/IOCTL.py b/Lib/plat-irix5/IOCTL.py index cec3c3f6a9..ffe0f932d0 100755 --- a/Lib/plat-irix5/IOCTL.py +++ b/Lib/plat-irix5/IOCTL.py @@ -3,6 +3,9 @@ # with some manual changes to cope with imperfections in h2py.py. # The applicability on other systems is not clear; especially non-SYSV # systems may have a totally different set of ioctls. +from warnings import warnpy3k +warnpy3k("the IOCTL module has been removed in Python 3.0", stacklevel=2) +del warnpy3k IOCTYPE = 0xff00 LIOC = (ord('l')<<8) |
