3 ms·
Please also let me use it as a type hint! `str?` would be much nicer than `Optional[str]` or (new in 3.10) `str | None`
by driggs 4y ago
Please also let me use it as a type hint!
`str?` would be much nicer than `Optional[str]` or (new in 3.10) `str | None`
- jonypawks 4y agoAs of 3.10 you can use "str | None" instead of "Optional[str]".