Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think I get what you mean, but it's confusing ofc, because Optional[T] is the older type annotation in Python for T | None

But like, when it comes to unwrappable optional/result thingies, there are libs in Python to mimic that kind of behavior from Rust and functional languages.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: