]> granicus.if.org Git - python/commitdiff
add missing 'because' (closes #22008)
authorBenjamin Peterson <benjamin@python.org>
Fri, 18 Jul 2014 23:25:13 +0000 (16:25 -0700)
committerBenjamin Peterson <benjamin@python.org>
Fri, 18 Jul 2014 23:25:13 +0000 (16:25 -0700)
Patch from A Kaptur.

Python/symtable.c

index 99f4191e5ef6717c0c16cc96f22f3933e3a9ec19..8d4b0d37b5094793c62f9be283efc03902e4a23b 100644 (file)
@@ -504,7 +504,7 @@ check_unoptimized(const PySTEntryObject* ste) {
     case OPT_BARE_EXEC:
         PyOS_snprintf(buf, sizeof(buf),
                       "unqualified exec is not allowed in function "
-                      "'%.100s' it %s",
+                      "'%.100s' because it %s",
                       PyString_AS_STRING(ste->ste_name), trailer);
         break;
     default: