summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
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 57847803db..49e57d128c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -995,7 +995,7 @@ none_assignment_check(struct compiling *c, char *name, int assigning)
if (name[0] == 'N' && strcmp(name, "None") == 0) {
char *msg;
if (assigning)
- msg = "assigment to None";
+ msg = "assignment to None";
else
msg = "deleting None";
if (issue_warning(msg, c->c_filename, c->c_lineno) < 0) {