]> granicus.if.org Git - python/commitdiff
A. Lloyd Flanagan pointed out a spelling error on c.l.py.
authorMichael W. Hudson <mwh@python.net>
Thu, 16 Jan 2003 15:39:07 +0000 (15:39 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 16 Jan 2003 15:39:07 +0000 (15:39 +0000)
Python/compile.c

index 57847803dbbfb6e744e64ef4497f93d7aa26a8ad..49e57d128cc8519b6f8691cfd8f310ff25f3cc9b 100644 (file)
@@ -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) {