Mercurial > cpython-lru_cache-weakref
diff Include/code.h @ 45965:91ac8049e709
Add __future__ import for print_function. It's a no-op in 3.0, but it needs to not be a syntax error.
Closes issue 2436.
| author | Eric Smith <eric@trueblade.com> |
|---|---|
| date | Thu, 20 Mar 2008 23:02:08 +0000 |
| parents | 86a2679dca46 |
| children | 78504d604b44 |
line wrap: on
line diff
--- a/Include/code.h Thu Mar 20 21:22:04 2008 +0000 +++ b/Include/code.h Thu Mar 20 23:02:08 2008 +0000 @@ -48,6 +48,7 @@ #define CO_FUTURE_DIVISION 0x2000 #define CO_FUTURE_ABSOLUTE_IMPORT 0x4000 /* do absolute imports by default */ #define CO_FUTURE_WITH_STATEMENT 0x8000 +#define CO_FUTURE_PRINT_FUNCTION 0x10000 #endif /* This should be defined if a future statement modifies the syntax.
