mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	[Trivial] Remove now redundant assert (#3245)
This commit is contained in:
		
							parent
							
								
									d9a2b99ac4
								
							
						
					
					
						commit
						e91c2a5086
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -313,7 +313,6 @@ def imap(self, func, iterable, chunksize=1):
 | 
			
		|||
                raise ValueError(
 | 
			
		||||
                    "Chunksize must be 1+, not {0:n}".format(
 | 
			
		||||
                        chunksize))
 | 
			
		||||
            assert chunksize > 1
 | 
			
		||||
            task_batches = Pool._get_tasks(func, iterable, chunksize)
 | 
			
		||||
            result = IMapIterator(self._cache)
 | 
			
		||||
            self._taskqueue.put(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue