diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-10-30 23:59:18 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-10-30 23:59:18 (GMT) |
commit | 44a90c95ceb6d6348dd7f81db33287f09112118d (patch) | |
tree | b55c5abbd734c066d7855e856bc06867579ebf17 /Python/future.c | |
parent | d79af0fc52ef13c531ca4dfb6bf96359626765a3 (diff) | |
download | cpython-44a90c95ceb6d6348dd7f81db33287f09112118d.zip cpython-44a90c95ceb6d6348dd7f81db33287f09112118d.tar.gz cpython-44a90c95ceb6d6348dd7f81db33287f09112118d.tar.bz2 |
move unprefixed error into .c file
Diffstat (limited to 'Python/future.c')
-rw-r--r-- | Python/future.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/future.c b/Python/future.c index 2c6aaa2..532a7fd 100644 --- a/Python/future.c +++ b/Python/future.c @@ -8,6 +8,8 @@ #include "symtable.h" #define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined" +#define ERR_LATE_FUTURE \ +"from __future__ imports must occur at the beginning of the file" static int future_check_features(PyFutureFeatures *ff, stmt_ty s, const char *filename) |