]> granicus.if.org Git - python/commitdiff
fix error message in ast.c (#6776)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sun, 13 May 2018 21:04:53 +0000 (17:04 -0400)
committerFred Drake <fred@fdrake.net>
Sun, 13 May 2018 21:04:53 +0000 (17:04 -0400)
small_stmt -> compound_stmt

Python/ast.c

index 0d692ffd95bd1d4711922ab7ac2b5910f7e651a4..03a489a74ef0f0c56306542915286392af0188cc 100644 (file)
@@ -4063,7 +4063,7 @@ ast_for_stmt(struct compiling *c, const node *n)
                 return ast_for_async_stmt(c, ch);
             default:
                 PyErr_Format(PyExc_SystemError,
-                             "unhandled small_stmt: TYPE=%d NCH=%d\n",
+                             "unhandled compound_stmt: TYPE=%d NCH=%d\n",
                              TYPE(n), NCH(n));
                 return NULL;
         }