mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +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 @@
 | 
				
			||||||
# Translated by Guido van Rossum from C source provided by
 | 
					# Translated by Guido van Rossum from C source provided by
 | 
				
			||||||
# Adrian Baddeley.
 | 
					# Adrian Baddeley.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import warnings
 | 
					 | 
				
			||||||
warnings.warn("the whrandom module is deprecated; please use random",
 | 
					 | 
				
			||||||
              DeprecationWarning)
 | 
					 | 
				
			||||||
del warnings
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
class whrandom:
 | 
					class whrandom:
 | 
				
			||||||
    def __init__(self, x = 0, y = 0, z = 0):
 | 
					    def __init__(self, x = 0, y = 0, z = 0):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue