bpo-39868: Add the documentation for Assignment Expressions (PEP 572). by shankarj67 · Pull Request #18851 · python/cpython

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good, thanks!

It's a bit longer than I think it needs to be, though (see similar sections, which are quite brief and have no subheadings). I also don't think we need examples of code without assignment expressions, since we're not trying to sell the syntax (like the PEP), just explaining it!

Before we get to grammar, etc., I've identified three chunks that can probably be removed, for the reasons above.