Closed
Description
Bug report
Bug description:
>>> dis.dis("def f[T = 1 + 2](): pass")
... snip ...
L1: LOAD_CONST 0 (1)
LOAD_CONST 1 (2)
BINARY_OP 0 (+)
... snip ...
cc @Eclips4. This is easy to fix but it might be better to wait for #122667 so we can test the fix better.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response