Trigger DeprecationWarning

This commit is contained in:
Andrew M. Kuchling 2004-08-07 21:44:37 +00:00
parent 7219cbea8d
commit 60395120f4

View file

@ -33,6 +33,10 @@
down in the serial case by using a lock here.)
"""
import warnings
warnings.warn("the whrandom module is deprecated; please use the random module",
DeprecationWarning)
# Translated by Guido van Rossum from C source provided by
# Adrian Baddeley.