mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Issue #22127: fix typo.
This commit is contained in:
		
							parent
							
								
									18874a9e13
								
							
						
					
					
						commit
						17fd1e1013
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1263,7 +1263,7 @@ idna_converter(PyObject *obj, struct maybe_idna *data)
 | 
			
		|||
            return 0;
 | 
			
		||||
        }
 | 
			
		||||
        if (!PyBytes_Check(obj3)) {
 | 
			
		||||
            Py_DECREF(obj2);
 | 
			
		||||
            Py_DECREF(obj3);
 | 
			
		||||
            PyErr_SetString(PyExc_TypeError, "encoding of hostname failed to return bytes");
 | 
			
		||||
            return 0;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue