diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-25 10:47:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-25 10:47:50 (GMT) |
commit | 3dfbaf51f0d90646e0414ddbd3b513ee8e5ffe9b (patch) | |
tree | 03005e193284d3da6590aa9e4740d2dcfa0e189b /Include | |
parent | 1b3029ac8370ac76fa9571aef540e10aed0667ff (diff) | |
download | cpython-3dfbaf51f0d90646e0414ddbd3b513ee8e5ffe9b.zip cpython-3dfbaf51f0d90646e0414ddbd3b513ee8e5ffe9b.tar.gz cpython-3dfbaf51f0d90646e0414ddbd3b513ee8e5ffe9b.tar.bz2 |
bpo-32372: Move __debug__ optimization to the AST level. (#4925)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/compile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/compile.h b/Include/compile.h index 2e9accf..edfd8bb 100644 --- a/Include/compile.h +++ b/Include/compile.h @@ -75,7 +75,7 @@ PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name); #define PY_INVALID_STACK_EFFECT INT_MAX PyAPI_FUNC(int) PyCompile_OpcodeStackEffect(int opcode, int oparg); -PyAPI_FUNC(int) _PyAST_Optimize(struct _mod *, PyArena *arena); +PyAPI_FUNC(int) _PyAST_Optimize(struct _mod *, PyArena *arena, int optimize); #ifdef __cplusplus } |