summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-17 15:04:57 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-17 15:04:57 (GMT)
commitd9dfaf5a3b4f714857f16cf0d2a7637829dcb659 (patch)
tree0e877eed413af7dea8295061678e2fbf9bbf9e96
parent1d339e8c35963ad2f445b9ec779604ddb6957bb4 (diff)
downloadcpython-d9dfaf5a3b4f714857f16cf0d2a7637829dcb659.zip
cpython-d9dfaf5a3b4f714857f16cf0d2a7637829dcb659.tar.gz
cpython-d9dfaf5a3b4f714857f16cf0d2a7637829dcb659.tar.bz2
fix typo (== for =) in assignment
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index cb25da2..a178bdb 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -499,7 +499,7 @@ com_addopname(c, op, n)
if (p + strlen(s) > buffer + (sizeof buffer) - 2) {
err_setstr(MemoryError,
"dotted_name too long");
- name == NULL;
+ name = NULL;
break;
}
if (p != buffer)