intersection_examples
intersection_examples copied to clipboard
Python Typing Intersection examples
intersection_examples
Python Typing Intersection examples and an initial specification intended to be used within a later PEP.
The issues in this repo shall streamline the original https://github.com/python/typing/issues/213 issue.
Please open an issue (if not already existing), if you find any issues with the specification.
For short exchange and discussion you can use this Discord server.
If you want to contribute to this repo write into this issue.
The general state is tracked in this issue.
Experimental CPython implementation of intersections can be found in this issue
Installation
You can install the repo with:
poetry install
Poetry is a package manager for python - for more information please see here: https://python-poetry.org/
Install pre-commit hooks to ensure conformity to the formatting specification:
poetry run pre-commit install