mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	gh-140641: Break out of inittab search on match (GH-140642)
This commit is contained in:
		
							parent
							
								
									c636477523
								
							
						
					
					
						commit
						e8b5cb8f33
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -2358,6 +2358,7 @@ create_builtin(PyThreadState *tstate, PyObject *name, PyObject *spec) | |||
|     for (struct _inittab *p = INITTAB; p->name != NULL; p++) { | ||||
|         if (_PyUnicode_EqualToASCIIString(info.name, p->name)) { | ||||
|             found = p; | ||||
|             break; | ||||
|         } | ||||
|     } | ||||
|     if (found == NULL) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Itamar Oren
						Itamar Oren