mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
This commit is contained in:
		
						commit
						f4c68db162
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -785,7 +785,7 @@ build_node_children(PyObject *tuple, node *root, int *line_num)
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        if (!ok) {
 | 
					        if (!ok) {
 | 
				
			||||||
            PyObject *err = Py_BuildValue("os", elem,
 | 
					            PyObject *err = Py_BuildValue("Os", elem,
 | 
				
			||||||
                                          "Illegal node construct.");
 | 
					                                          "Illegal node construct.");
 | 
				
			||||||
            PyErr_SetObject(parser_error, err);
 | 
					            PyErr_SetObject(parser_error, err);
 | 
				
			||||||
            Py_XDECREF(err);
 | 
					            Py_XDECREF(err);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue