diff options
author | Ivan Levkivskyi <levkivskyi@gmail.com> | 2019-01-25 01:39:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 01:39:19 (GMT) |
commit | 62c35a8a8ff5854ed470b1c16a7a14f3bb80368c (patch) | |
tree | c9fbcd76316803a7d1272301a64a3c3ea233d2bd /Misc/NEWS.d | |
parent | 1396d8fab4d0ae830d45f4937322bbb43ce0c30e (diff) | |
download | cpython-62c35a8a8ff5854ed470b1c16a7a14f3bb80368c.zip cpython-62c35a8a8ff5854ed470b1c16a7a14f3bb80368c.tar.gz cpython-62c35a8a8ff5854ed470b1c16a7a14f3bb80368c.tar.bz2 |
bpo-35814: Allow same r.h.s. in annotated assignments as in normal ones (GH-11667)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-01-24-13-25-21.bpo-35814.r_MjA6.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-01-24-13-25-21.bpo-35814.r_MjA6.rst b/Misc/NEWS.d/next/Core and Builtins/2019-01-24-13-25-21.bpo-35814.r_MjA6.rst new file mode 100644 index 0000000..5d216b2 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-01-24-13-25-21.bpo-35814.r_MjA6.rst @@ -0,0 +1,2 @@ +Allow same right hand side expressions in annotated assignments as in normal ones.
+In particular, ``x: Tuple[int, int] = 1, 2`` (without parentheses on the right) is now allowed.
\ No newline at end of file |