mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-120526: Correct signature of map() builtin (GH-120528)
map() requires at least one iterable arg. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
		
							parent
							
								
									5c58e728b1
								
							
						
					
					
						commit
						d4039d3f6f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1475,7 +1475,7 @@ static PyMethodDef map_methods[] = { | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| PyDoc_STRVAR(map_doc, | PyDoc_STRVAR(map_doc, | ||||||
| "map(function, /, *iterables)\n\
 | "map(function, iterable, /, *iterables)\n\
 | ||||||
| --\n\ | --\n\ | ||||||
| \n\ | \n\ | ||||||
| Make an iterator that computes the function using arguments from\n\ | Make an iterator that computes the function using arguments from\n\ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Adam Williamson
						Adam Williamson