mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	ceval: tighten the code of STORE_ANNOTATION
This commit is contained in:
		
							parent
							
								
									eb6364557f
								
							
						
					
					
						commit
						50c584f50b
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1921,11 +1921,10 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
 | 
			
		|||
                err = PyObject_SetItem(ann_dict, name, ann);
 | 
			
		||||
            }
 | 
			
		||||
            Py_DECREF(ann_dict);
 | 
			
		||||
            Py_DECREF(ann);
 | 
			
		||||
            if (err != 0) {
 | 
			
		||||
                Py_DECREF(ann);
 | 
			
		||||
                goto error;
 | 
			
		||||
            }
 | 
			
		||||
            Py_DECREF(ann);
 | 
			
		||||
            DISPATCH();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue