diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-15 03:14:57 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-15 03:14:57 (GMT) |
commit | 2773b6f1c911e782bf1ed3ebd62b2e9ae6e53c70 (patch) | |
tree | 4dbf0b1f16516d51d936ac9547bc23e4f2426766 /Lib/plat-irix5 | |
parent | 044616aa244a7b78c27d774143ad17a72467d4ef (diff) | |
download | cpython-2773b6f1c911e782bf1ed3ebd62b2e9ae6e53c70.zip cpython-2773b6f1c911e782bf1ed3ebd62b2e9ae6e53c70.tar.gz cpython-2773b6f1c911e782bf1ed3ebd62b2e9ae6e53c70.tar.bz2 |
Deprecate ERRNO for removal in 3.0.
Diffstat (limited to 'Lib/plat-irix5')
-rwxr-xr-x | Lib/plat-irix5/ERRNO.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/plat-irix5/ERRNO.py b/Lib/plat-irix5/ERRNO.py index d49e964..d9ab7a4 100755 --- a/Lib/plat-irix5/ERRNO.py +++ b/Lib/plat-irix5/ERRNO.py @@ -1,4 +1,7 @@ # Generated by h2py from /usr/include/errno.h +from warnings import warnpy3k +warnpy3k("the ERRNO module has been removed in Python 3.0", stacklevel=2) +del warnpy3k # Included from sys/errno.h __KBASE = 1000 |