| return make_const(node, newval, arena); | ||
| } | ||
|
|
||
| static int |
There was a problem hiding this comment.
It would be nice to add comments and/or a "docstring" to explain what this is doing.
| } | ||
|
|
||
| static int | ||
| fold_compare(expr_ty node, PyArena *arena) |
There was a problem hiding this comment.
This already is documented inside the function. In future the optimization for literal operands (like 1 < 2) can be added here, but currently it optimizes only the particular case of 'in' and 'not in' operators.
|
thanks! |
https://bugs.python.org/issue29469