mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Update _PyEval_AddPendingCall comment (#95817)
This commit is contained in:
		
							parent
							
								
									8b34e914bb
								
							
						
					
					
						commit
						23a757f44f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -630,8 +630,8 @@ _PyEval_AddPendingCall(PyInterpreterState *interp, | |||
| { | ||||
|     struct _pending_calls *pending = &interp->ceval.pending; | ||||
| 
 | ||||
|     /* Ensure that _PyEval_InitPendingCalls() was called
 | ||||
|        and that _PyEval_FiniPendingCalls() is not called yet. */ | ||||
|     /* Ensure that _PyEval_InitState() was called
 | ||||
|        and that _PyEval_FiniState() is not called yet. */ | ||||
|     assert(pending->lock != NULL); | ||||
| 
 | ||||
|     PyThread_acquire_lock(pending->lock, WAIT_LOCK); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zhanpon
						zhanpon