summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorHansraj Das <raj.das.136@gmail.com>2019-10-09 07:54:02 +0530
committerBenjamin Peterson <benjamin@python.org>2019-10-08 19:24:02 -0700
commit01171ebd966b0cd6352057799ad876dd1e07942e (patch)
tree055c283ac90cc0c4c5519f9fd3666b17f2702459 /Python/compile.c
parent594e2edfb5e0d24e03469d035d8f39ff29a64d99 (diff)
downloadcpython-git-01171ebd966b0cd6352057799ad876dd1e07942e.tar.gz
Typo fix: "empy" should be "empty". (GH-16666)
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index edd8625cba..3b2188e6e7 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);