Mercurial > cpython-lru_cache-weakref
comparison Include/Python.h @ 5438:e926c331ebbf legacy-trunk
Instead of importing graminit.h whenever one of the three grammar 'root'
symbols is needed, define these in Python.h with a Py_ prefix.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 07 May 1997 17:46:13 +0000 |
| parents | b7871ca930ad |
| children | 3643f19d5ca1 |
comparison
equal
deleted
inserted
replaced
| 5437:c2dae2b1a123 | 5438:e926c331ebbf |
|---|---|
| 110 #define Py_CHARMASK(c) ((c) & 0xff) | 110 #define Py_CHARMASK(c) ((c) & 0xff) |
| 111 #endif | 111 #endif |
| 112 | 112 |
| 113 #include "pyfpe.h" | 113 #include "pyfpe.h" |
| 114 | 114 |
| 115 /* These definitions much match corresponding definitions in graminit.h. | |
| 116 There's code in compile.c that checks that they are the same. */ | |
| 117 #define Py_single_input 256 | |
| 118 #define Py_file_input 257 | |
| 119 #define Py_eval_input 258 | |
| 120 | |
| 115 #endif /* !Py_PYTHON_H */ | 121 #endif /* !Py_PYTHON_H */ |
