projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85705e7
)
Guido sez to remove the deprecation warning for a year.
author
Fred Drake
<fdrake@acm.org>
Thu, 11 Apr 2002 20:57:30 +0000
(20:57 +0000)
committer
Fred Drake
<fdrake@acm.org>
Thu, 11 Apr 2002 20:57:30 +0000
(20:57 +0000)
The deprecation is now listed in PEP 4.
Lib/whrandom.py
patch
|
blob
|
history
diff --git
a/Lib/whrandom.py
b/Lib/whrandom.py
index d4c07e3260d3ebdf528cf6d22c2ce150a3ebaf12..a3a9bf7f5e146c6462a5d05d4ead6f87aff8a2dc 100644
(file)
--- a/
Lib/whrandom.py
+++ b/
Lib/whrandom.py
@@
-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):