diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2021-12-24 21:36:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-24 21:36:09 (GMT) |
commit | 1b30660c3b40da557050948ac8635f2dc50c4ee2 (patch) | |
tree | d958d26b6e7168597789d069769051a648bcf3c8 /Misc | |
parent | b8de8b7039cee47465b2af9950b0b9ed2d3f2903 (diff) | |
download | cpython-1b30660c3b40da557050948ac8635f2dc50c4ee2.zip cpython-1b30660c3b40da557050948ac8635f2dc50c4ee2.tar.gz cpython-1b30660c3b40da557050948ac8635f2dc50c4ee2.tar.bz2 |
bpo-46120: State that `|` is preferred over `Union` (GH-30222)
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst b/Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst new file mode 100644 index 0000000..17f6747 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst @@ -0,0 +1 @@ +State that ``|`` is preferred for readability over ``Union`` in the :mod:`typing` docs. |