Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
xg15
· 3mo ago · 0 comments
Isn't "..." then also behaving like True, False and None, i.e. being a lexical token that rewolves to a hardwired value during parsing?
Comments
[–]
zahlman
3mo ago
It is, but Ellipsis is just an ordinary pre-defined constant (with the same value).
[–]
xg15
OP
3mo ago
Yeah, that makes sense.
[–]
chrisweekly
3mo ago
rewolves? EDIT: ah, "resolves" typo. was v curious about python's mysterious "wolfing" aspects
[–]
xg15
OP
3mo ago
Yes, sorry, I had typed that on my phone. But yeah, now I want to know more too about python's new type wolfing paradigm.
[–]
b3orn
3mo ago
You wouldn't expect ... = 42 to work syntactically.