Pep 0604 : Change title (#1186)

* Add PEP-0604 to describes an extension to Python language, which aims to add a complementary
syntax to write ``Union[X,Y]`` and ``Optional[X]`` easier.

* Add sample with metaclass with __invert__ and/or __or__

* Remove operator __revert__

* Change title of pep-604
This commit is contained in:
Philippe PRADOS 2019-10-01 09:34:13 +02:00 committed by Łukasz Langa
parent 5c8b380387
commit 292723c6bf
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
PEP: 604 PEP: 604
Title: Complementary syntax for ``Union[]`` and ``Optional[]`` Title: Complementary syntax for ``Union[]``
Author: Philippe PRADOS <python@prados.fr> Author: Philippe PRADOS <python@prados.fr>
Sponsor: Chris Angelico <rosuav@gmail.com> Sponsor: Chris Angelico <rosuav@gmail.com>
Status: Draft Status: Draft