mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	merge from trunk
This commit is contained in:
		
							parent
							
								
									2d8dcdcb06
								
							
						
					
					
						commit
						f10a79aad4
					
				
					 40 changed files with 621 additions and 305 deletions
				
			
		|  | @ -694,7 +694,9 @@ tuple_sizeof(PyTupleObject *self) | |||
| } | ||||
| 
 | ||||
| PyDoc_STRVAR(index_doc, | ||||
| "T.index(value, [start, [stop]]) -> integer -- return first index of value"); | ||||
| "T.index(value, [start, [stop]]) -> integer -- return first index of value.\n" | ||||
| "Raises ValueError if the value is not present." | ||||
| ); | ||||
| PyDoc_STRVAR(count_doc, | ||||
| "T.count(value) -> integer -- return number of occurrences of value"); | ||||
| PyDoc_STRVAR(sizeof_doc, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson