summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-09 02:42:22 (GMT)
committerGitHub <noreply@github.com>2019-10-09 02:42:22 (GMT)
commitd8071cbf5bd0c276bae41b8505da22ad29d1be51 (patch)
tree17aec4eecac519b8df036a0ebf777983bf905ed5 /Python
parent526ef856dd598fd3cefdfadeb18ede7a8e57aa41 (diff)
downloadcpython-d8071cbf5bd0c276bae41b8505da22ad29d1be51.zip
cpython-d8071cbf5bd0c276bae41b8505da22ad29d1be51.tar.gz
cpython-d8071cbf5bd0c276bae41b8505da22ad29d1be51.tar.bz2
Typo fix: "empy" should be "empty". (GH-16666)
(cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e) Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index a6c5ab6..a512e9c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1749,7 +1749,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);