Andrew Breza

27%
Flag icon
Explicit TypeAlias in Python 3.10 PEP 613—Explicit Type Aliases introduced a special type, TypeAlias, to make the assignments that create type aliases more visible and easier to type check. Starting with Python 3.10, this is the preferred way to create type aliases: from typing import TypeAlias FromTo: TypeAlias = tuple[str, str]
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview