[Python-checkins] Typo fix: "empy" should be "empty". (GH-16666)
Benjamin Peterson
webhook-mailer at python.org
Tue Oct 8 22:24:06 EDT 2019
https://github.com/python/cpython/commit/01171ebd966b0cd6352057799ad876dd1e07942e
commit: 01171ebd966b0cd6352057799ad876dd1e07942e
branch: master
author: Hansraj Das <raj.das.136 at gmail.com>
committer: Benjamin Peterson <benjamin at python.org>
date: 2019-10-08T19:24:02-07:00
summary:
Typo fix: "empy" should be "empty". (GH-16666)
files:
M Python/compile.c
diff --git a/Python/compile.c b/Python/compile.c
index edd8625cba91c..3b2188e6e7438 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1751,7 +1751,7 @@ compiler_body(struct compiler *c, asdl_seq *stmts)
/* Set current line number to the line number of first statement.
This way line number for SETUP_ANNOTATIONS will always
coincide with the line number of first "real" statement in module.
- If body is empy, then lineno will be set later in assemble. */
+ If body is empty, then lineno will be set later in assemble. */
if (c->u->u_scope_type == COMPILER_SCOPE_MODULE &&
!c->u->u_lineno && asdl_seq_LEN(stmts)) {
st = (stmt_ty)asdl_seq_GET(stmts, 0);
More information about the Python-checkins
mailing list