Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
qwefsdf
3y ago
0 comments
Share
That's an Optional[int]. It's not "mixed types", it's a union type.
0 comments
default
newest
oldest
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.
j
/
k
navigate · click thread line to collapse