Guido sez to remove the deprecation warning for a year.
The deprecation is now listed in PEP 4.
This commit is contained in:
parent
85705e73b1
commit
f9ddec41ce
|
@ -36,11 +36,6 @@ 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):
|
||||
|
|
Loading…
Reference in New Issue