[Python-checkins] Typo fix: "empy" should be "empty". (GH-16666)

Miss Islington (bot) webhook-mailer at python.org
Tue Oct 8 22:42:19 EDT 2019


https://github.com/python/cpython/commit/443370d8acd107da235d2e9758e06ab3583be4ea
commit: 443370d8acd107da235d2e9758e06ab3583be4ea
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-10-08T19:42:15-07:00
summary:

Typo fix: "empy" should be "empty". (GH-16666)

(cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e)

Co-authored-by: Hansraj Das <raj.das.136 at gmail.com>

files:
M Python/compile.c

diff --git a/Python/compile.c b/Python/compile.c
index 5688ef8479c0d..32884be34de3c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1482,7 +1482,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