- 1. Python types at PyWeb 2025.05
- 1.1. Python types at PyWeb 2025.05
- 1.2. The Answer
- 1.3. Add
- 1.4. Add in function
- 1.5. Shift-left (testing, programming)
- 1.6. Function with type annotation
- 1.7. Use mypy
- 1.8. How add type annotation?
- 1.9. Infer (deduct) the type
- 1.10. Type in unannotated function
- 1.11. Type in annotated function
- 1.12. Built-in types
- 1.13. Complex types
- 1.14. Either this or that type (Union)
- 1.15. Either this or that type for Python before 3.10
- 1.16. Optional type (variable can also be None)
- 1.17. Define type alias
- 1.18. Define complex type alias
- 1.19. Define type for enum and complex dictionary
- 1.20. mypy generics - plain
- 1.21. mypy generics - cannot be any type
- 1.22. mypy generics - limit the types by listing
- 1.23. mypy generics - limit by functionality
- 1.24. Two variables of the same and different types
- 1.25. mypy suggestions
- 1.26. The end
- 1.27. Bloopers
- 1.28. Define the type of variables
- 1.29. Define the return type
- 1.30. Complex types for Python 3.8 and before