None, unions, and Optional
Coming soon
Represent nullable and multiple possible types with X | None union syntax.
You'll be able to
- Use Python 3.10+ union syntax X | Y
- Represent optional nullable values with X | None
- Narrow types using if statements and isinstance checks
Coming soon
This lesson is being written. It will be free here, like every lesson. The Telegram channel announces new lessons as they open.