mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Docstring change: Specify exception raised
This commit is contained in:
		
							parent
							
								
									bd7c4ca569
								
							
						
					
					
						commit
						b15d6fb9a7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -719,7 +719,9 @@ tuple_sizeof(PyTupleObject *self)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PyDoc_STRVAR(index_doc,
 | 
					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,
 | 
					PyDoc_STRVAR(count_doc,
 | 
				
			||||||
"T.count(value) -> integer -- return number of occurrences of value");
 | 
					"T.count(value) -> integer -- return number of occurrences of value");
 | 
				
			||||||
PyDoc_STRVAR(sizeof_doc,
 | 
					PyDoc_STRVAR(sizeof_doc,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue