mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	Fix grouping, again. This time properly :-) Sorry, guys.
This commit is contained in:
		
							parent
							
								
									3a9d0611fb
								
							
						
					
					
						commit
						cadd5b6b58
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -813,12 +813,12 @@ PyNumber_InPlaceAdd(PyObject *v, PyObject *w)
 | 
				
			||||||
					PyNumber_Add, 0) <= 0)
 | 
										PyNumber_Add, 0) <= 0)
 | 
				
			||||||
			return x;
 | 
								return x;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	else if ((HASINPLACE(v)
 | 
						else if (HASINPLACE(v)
 | 
				
			||||||
		  && ((v->ob_type->tp_as_sequence != NULL &&
 | 
							  && ((v->ob_type->tp_as_sequence != NULL &&
 | 
				
			||||||
		       (f = v->ob_type->tp_as_sequence->sq_inplace_concat)
 | 
							       (f = v->ob_type->tp_as_sequence->sq_inplace_concat)
 | 
				
			||||||
		       != NULL)))
 | 
							       != NULL)
 | 
				
			||||||
		 || (v->ob_type->tp_as_number != NULL &&
 | 
							 || (v->ob_type->tp_as_number != NULL &&
 | 
				
			||||||
		     (f = v->ob_type->tp_as_number->nb_inplace_add) != NULL))
 | 
							     (f = v->ob_type->tp_as_number->nb_inplace_add) != NULL)))
 | 
				
			||||||
		return (*f)(v, w);
 | 
							return (*f)(v, w);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	BINOP(v, w, "__add__", "__radd__", PyNumber_Add);
 | 
						BINOP(v, w, "__add__", "__radd__", PyNumber_Add);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue