bpo-44838: Refine the custom syntax errors for invalid 'if' expressions (GH-27615)

4 files changed