PEP 484 introduces type hints for Python 3. Type hints can increase readability of our code for both humans and tools and lead to better and safer outcomes. And we’ll prove it in this talk!
We’re going to take a closer look at type hints, see practical examples of where they can be used and the value they provide. We’ll see that simple class types and built-in collection types are often enough for our public API’s. We’ll also discuss how you can benefit from type hinting stubs for third-party libraries and briefly cover more advanced scenarios like generic types.