mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	document the class, not its initializer
This commit is contained in:
		
							parent
							
								
									0e8bd7e1cc
								
							
						
					
					
						commit
						86116e2b75
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -14,11 +14,11 @@ class Full(Exception): | |||
|     pass | ||||
| 
 | ||||
| class Queue: | ||||
|     def __init__(self, maxsize=0): | ||||
|         """Initialize a queue object with a given maximum size. | ||||
|     """Create a queue object with a given maximum size. | ||||
| 
 | ||||
|         If maxsize is <= 0, the queue size is infinite. | ||||
|         """ | ||||
|     If maxsize is <= 0, the queue size is infinite. | ||||
|     """ | ||||
|     def __init__(self, maxsize=0): | ||||
|         try: | ||||
|             import threading | ||||
|         except ImportError: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Skip Montanaro
						Skip Montanaro