Y
Hacker News
new
|
ask
|
show
|
jobs
by
qwefsdf
1294 days ago
That's an Optional[int]. It's not "mixed types", it's a union type.
1 comments
ris
1292 days ago
That is merely a detail of how the typing module has decided to set up convenient aliases. Treated by the language (and likely compilers) as different types.
link