A Practical Introduction to the Python Abstract Syntax Tree

Looking at how Python represents code internally, and how pytest rewrites assert statements behind the scenes.