File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2459,11 +2459,14 @@ PyDoc_STRVAR(extend_doc,
24592459PyDoc_STRVAR (insert_doc ,
24602460"L .insert (index , object ) -- insert object before index ");
24612461PyDoc_STRVAR (pop_doc ,
2462- "L .pop ([index ]) -> item -- remove and return item at index (default last )");
2462+ "L .pop ([index ]) -> item -- remove and return item at index (default last ).\n "
2463+ "Raises IndexError if list is empty or index is out of range .");
24632464PyDoc_STRVAR (remove_doc ,
2464- "L .remove (value ) -- remove first occurrence of value ");
2465+ "L .remove (value ) -- remove first occurrence of value .\n "
2466+ "Raises ValueError if the value is not present .");
24652467PyDoc_STRVAR (index_doc ,
2466- "L .index (value , [start , [stop ]]) -> integer -- return first index of value ");
2468+ "L .index (value , [start , [stop ]]) -> integer -- return first index of value .\n "
2469+ "Raises ValueError if the value is not present .");
24672470PyDoc_STRVAR (count_doc ,
24682471"L .count (value ) -> integer -- return number of occurrences of value ");
24692472PyDoc_STRVAR (reverse_doc ,
You can’t perform that action at this time.
0 commit comments