summaryrefslogtreecommitdiffstats
path: root/Lib/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/user.py')
-rw-r--r--Lib/user.py3
1 files changed, 3 insertions, 0 deletions
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 @@ The user's .pythonrc.py could conceivably test for sys.version if it
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