mirror of
https://github.com/python/cpython.git
synced 2026-04-26 22:01:08 +00:00
Add '+' alternatives to signed_number and signed_real_number grammar rules, mirroring how unary minus is already handled for pattern matching. Unary plus is a no-op on numbers so the value is returned directly without wrapping in a UnaryOp node. |
||
|---|---|---|
| .. | ||
| python.gram | ||
| Tokens | ||