This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
Upper bound example prescribes using join instead of union #4
Labels
wait-for-council
Issues that should not be addressed until the Typing Council exists
The last example in https://peps.python.org/pep-0484/#type-variables-with-an-upper-bound (which is currently in the spec) seems to prescribe using a join instead of a union (cf. https://github.com/python/mypy/issues?q=is%3Aopen+is%3Aissue+label%3Atopic-join-v-union). I think this should be left up to individual type checkers.
The text was updated successfully, but these errors were encountered: