mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Update outdated LOAD_METHOD comments in Python/ceval.c (GH-92641)
				
					
				
			(cherry picked from commit bdf9969197)
Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
			
			
This commit is contained in:
		
							parent
							
								
									6e1a214426
								
							
						
					
					
						commit
						3d1ad42591
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -4537,7 +4537,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int | ||||||
| 
 | 
 | ||||||
|         TARGET(LOAD_METHOD) { |         TARGET(LOAD_METHOD) { | ||||||
|             PREDICTED(LOAD_METHOD); |             PREDICTED(LOAD_METHOD); | ||||||
|             /* Designed to work in tandem with CALL_METHOD. */ |             /* Designed to work in tandem with PRECALL. */ | ||||||
|             PyObject *name = GETITEM(names, oparg); |             PyObject *name = GETITEM(names, oparg); | ||||||
|             PyObject *obj = TOP(); |             PyObject *obj = TOP(); | ||||||
|             PyObject *meth = NULL; |             PyObject *meth = NULL; | ||||||
|  | @ -4562,7 +4562,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int | ||||||
|                 /* meth is not an unbound method (but a regular attr, or
 |                 /* meth is not an unbound method (but a regular attr, or
 | ||||||
|                    something was returned by a descriptor protocol).  Set |                    something was returned by a descriptor protocol).  Set | ||||||
|                    the second element of the stack to NULL, to signal |                    the second element of the stack to NULL, to signal | ||||||
|                    CALL_METHOD that it's not a method call. |                    PRECALL that it's not a method call. | ||||||
| 
 | 
 | ||||||
|                    NULL | meth | arg1 | ... | argN |                    NULL | meth | arg1 | ... | argN | ||||||
|                 */ |                 */ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Miss Islington (bot)
						Miss Islington (bot)