Python Syntax Diagram
- Track:
- Python Core, Internals, Extensions
- Type:
- Poster
- Level:
- beginner
- Room:
- Poster Hall C
- Start:
- 13:00 on Thursday, 16 July 2026
- End:
- 14:00 on Thursday, 16 July 2026
- Duration:
- 60 minutes
Abstract
The poster shows a railroad diagram of the entire Python grammar.
It allows exploring subtle details of the language, like when parentheses are required around generator expressions, tuples or “walrus” assignment operations; what's the precedence of various operators; or what kinds of arguments are possible in function definitions and calls.