mirror of
https://github.com/python/cpython.git
synced 2026-04-26 05:40:58 +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. |
||
|---|---|---|
| .. | ||
| lexer | ||
| tokenizer | ||
| action_helpers.c | ||
| asdl.py | ||
| asdl_c.py | ||
| myreadline.c | ||
| parser.c | ||
| peg_api.c | ||
| pegen.c | ||
| pegen.h | ||
| pegen_errors.c | ||
| Python.asdl | ||
| string_parser.c | ||
| string_parser.h | ||
| token.c | ||