Commit Graph

3 Commits

Author SHA1 Message Date
Philippe PRADOS 292723c6bf 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
2019-10-01 09:34:13 +02:00
Philippe PRADOS 6e49cec61b Pep 0604: Remove __revert__ operator (#1183)
* 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__
2019-09-30 17:21:17 +10:00
Philippe PRADOS 4aa98027b3 Add PEP-0604 to describes an extension to Python language, which aims to add a complementary (#1171)
syntax to write ``Union[X,Y]`` and ``Optional[X]`` easier.
2019-09-20 17:47:02 +10:00