Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
qwefsdf
· 3y ago · 0 comments
That's an Optional[int]. It's not "mixed types", it's a union type.
Comments
[–]
ris
3y 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.