mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Andrew Kuchling <akuchlin@mems-exchange.org>:
Typo in string literal: execpt --> except
This commit is contained in:
parent
17647f5201
commit
22269b5976
1 changed files with 1 additions and 1 deletions
|
@ -1651,7 +1651,7 @@ validate_try(tree)
|
||||||
&& validate_colon(CHILD(tree, nch - 2))
|
&& validate_colon(CHILD(tree, nch - 2))
|
||||||
&& validate_suite(CHILD(tree, nch - 1)));
|
&& validate_suite(CHILD(tree, nch - 1)));
|
||||||
else {
|
else {
|
||||||
const char* name = "execpt";
|
const char* name = "except";
|
||||||
char buffer[60];
|
char buffer[60];
|
||||||
if (TYPE(CHILD(tree, nch - 3)) != except_clause)
|
if (TYPE(CHILD(tree, nch - 3)) != except_clause)
|
||||||
name = STR(CHILD(tree, nch - 3));
|
name = STR(CHILD(tree, nch - 3));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue