mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue