commit | e3b1940eb9eedb752e23310a2b846cb91a970675 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Thu May 08 20:36:09 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Thu May 08 20:36:09 2008 +0000 |
tree | a4f50e74016007ee243d850dffd1a851fa0d650a | |
parent | cae4f5f4ac8d107af3ee4877ea501ff27cd70192 [diff] [blame] |
Deprecate the user module for removal in 3.0.
diff --git a/Lib/user.py b/Lib/user.py index e550e52..596f0a7 100644 --- a/Lib/user.py +++ b/Lib/user.py
@@ -20,6 +20,9 @@ wishes to do different things depending on the Python version. """ +from warnings import warnpy3k +warnpy3k("the user module has been removed in Python 3.0", stacklevel=2) +del warnpy3k import os