summaryrefslogtreecommitdiffstats
path: root/Lib/whrandom.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/whrandom.py')
-rw-r--r--Lib/whrandom.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/whrandom.py b/Lib/whrandom.py
index a3a9bf7..d4c07e3 100644
--- a/Lib/whrandom.py
+++ b/Lib/whrandom.py
@@ -36,6 +36,11 @@ down in the serial case by using a lock here.)
# Translated by Guido van Rossum from C source provided by
# Adrian Baddeley.
+import warnings
+warnings.warn("the whrandom module is deprecated; please use random",
+ DeprecationWarning)
+del warnings
+
class whrandom:
def __init__(self, x = 0, y = 0, z = 0):