mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Fix typos in variable names, function names, and comments (GH-101868)
This commit is contained in:
parent
467e3f9417
commit
707c37e373
7 changed files with 13 additions and 13 deletions
|
|
@ -402,7 +402,7 @@ _PyPegen_raise_error_known_location(Parser *p, PyObject *errtype,
|
|||
|
||||
void
|
||||
_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
|
||||
// Existing sintax error
|
||||
// Existing syntax error
|
||||
if (PyErr_Occurred()) {
|
||||
// Prioritize tokenizer errors to custom syntax errors raised
|
||||
// on the second phase only if the errors come from the parser.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue