mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Fix typo in __mul__ and __rmul__ docstring (GH-6674)
This commit is contained in:
		
							parent
							
								
									bd5f96581b
								
							
						
					
					
						commit
						0904f766e1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -6938,9 +6938,9 @@ static slotdef slotdefs[] = {
 | 
				
			||||||
    SQSLOT("__add__", sq_concat, NULL, wrap_binaryfunc,
 | 
					    SQSLOT("__add__", sq_concat, NULL, wrap_binaryfunc,
 | 
				
			||||||
           "__add__($self, value, /)\n--\n\nReturn self+value."),
 | 
					           "__add__($self, value, /)\n--\n\nReturn self+value."),
 | 
				
			||||||
    SQSLOT("__mul__", sq_repeat, NULL, wrap_indexargfunc,
 | 
					    SQSLOT("__mul__", sq_repeat, NULL, wrap_indexargfunc,
 | 
				
			||||||
           "__mul__($self, value, /)\n--\n\nReturn self*value.n"),
 | 
					           "__mul__($self, value, /)\n--\n\nReturn self*value."),
 | 
				
			||||||
    SQSLOT("__rmul__", sq_repeat, NULL, wrap_indexargfunc,
 | 
					    SQSLOT("__rmul__", sq_repeat, NULL, wrap_indexargfunc,
 | 
				
			||||||
           "__rmul__($self, value, /)\n--\n\nReturn self*value."),
 | 
					           "__rmul__($self, value, /)\n--\n\nReturn value*self."),
 | 
				
			||||||
    SQSLOT("__getitem__", sq_item, slot_sq_item, wrap_sq_item,
 | 
					    SQSLOT("__getitem__", sq_item, slot_sq_item, wrap_sq_item,
 | 
				
			||||||
           "__getitem__($self, key, /)\n--\n\nReturn self[key]."),
 | 
					           "__getitem__($self, key, /)\n--\n\nReturn self[key]."),
 | 
				
			||||||
    SQSLOT("__setitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_setitem,
 | 
					    SQSLOT("__setitem__", sq_ass_item, slot_sq_ass_item, wrap_sq_setitem,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue