diff options
author | Ivan Levkivskyi <levkivskyi@gmail.com> | 2019-01-25 01:39:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 01:39:19 +0000 |
commit | 62c35a8a8ff5854ed470b1c16a7a14f3bb80368c (patch) | |
tree | c9fbcd76316803a7d1272301a64a3c3ea233d2bd /Python/graminit.c | |
parent | 1396d8fab4d0ae830d45f4937322bbb43ce0c30e (diff) | |
download | cpython-git-62c35a8a8ff5854ed470b1c16a7a14f3bb80368c.tar.gz |
bpo-35814: Allow same r.h.s. in annotated assignments as in normal ones (GH-11667)
Diffstat (limited to 'Python/graminit.c')
-rw-r--r-- | Python/graminit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/graminit.c b/Python/graminit.c index 91092f1e0b..225d327939 100644 --- a/Python/graminit.c +++ b/Python/graminit.c @@ -498,8 +498,9 @@ static arc arcs_17_2[2] = { {31, 3}, {0, 2}, }; -static arc arcs_17_3[1] = { - {26, 4}, +static arc arcs_17_3[2] = { + {50, 4}, + {9, 4}, }; static arc arcs_17_4[1] = { {0, 4}, @@ -508,7 +509,7 @@ static state states_17[5] = { {1, arcs_17_0}, {1, arcs_17_1}, {2, arcs_17_2}, - {1, arcs_17_3}, + {2, arcs_17_3}, {1, arcs_17_4}, }; static arc arcs_18_0[2] = { |