commit | 999ec9ab6af536cc2666a0847ec02331aaf00416 | [log] [tgz] |
---|---|---|
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | Wed May 06 21:11:04 2020 +0300 |
committer | GitHub <noreply@github.com> | Wed May 06 19:11:04 2020 +0100 |
tree | ee895da1c75a6887f0c8b305ea0704acc3537c54 | |
parent | b7aa23d29fa48238dab3692d02e1f0a7e8a5af9c [diff] [blame] |
bpo-40334: Add type to the assignment rule in the grammar file (GH-19963)
diff --git a/Grammar/python.gram b/Grammar/python.gram index 0ce6ab4..3f16768 100644 --- a/Grammar/python.gram +++ b/Grammar/python.gram
@@ -82,7 +82,7 @@ | &'while' while_stmt # NOTE: annotated_rhs may start with 'yield'; yield_expr must start with 'yield' -assignment: +assignment[stmt_ty]: | a=NAME ':' b=expression c=['=' d=annotated_rhs { d }] { CHECK_VERSION( 6,