mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Generate code to recursively copy an AST into
a tree of Python objects. Expose this through compile().
This commit is contained in:
parent
23b0dc5053
commit
bd260da900
8 changed files with 1906 additions and 745 deletions
|
@ -11,6 +11,7 @@ extern "C" {
|
|||
#define PyCF_MASK_OBSOLETE (CO_NESTED)
|
||||
#define PyCF_SOURCE_IS_UTF8 0x0100
|
||||
#define PyCF_DONT_IMPLY_DEDENT 0x0200
|
||||
#define PyCF_ONLY_AST 0x0400
|
||||
|
||||
typedef struct {
|
||||
int cf_flags; /* bitmask of CO_xxx flags relevant to future */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue