summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-08 19:42:15 -0700
committerGitHub <noreply@github.com>2019-10-08 19:42:15 -0700
commit443370d8acd107da235d2e9758e06ab3583be4ea (patch)
treee408f22197aba16d372a1e938d5663f38f51585b
parent43f5c0c4d0a608c04c3978adb45117f3943203b7 (diff)
downloadcpython-git-443370d8acd107da235d2e9758e06ab3583be4ea.tar.gz
Typo fix: "empy" should be "empty". (GH-16666)
(cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e) Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 5688ef8479..32884be34d 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);