Glossary

Type hints and mypy

Python 3.10+ supports sophisticated type hints. Adding type hints to your functions makes code more readable, catches bugs at development time, and is now considered standard practice in professional Python.

Learn More

Related Terms