3 ms·
Isn't "..." then also behaving like True, False and None, i.e. being a lexical token that rewolves to a hardwired value during parsing?
by xg15 2mo ago
Isn't "..." then also behaving like True, False and None, i.e. being a lexical token that rewolves to a hardwired value during parsing?
- zahlman 2mo agoIt is, but Ellipsis is just an ordinary pre-defined constant (with the same value).
- xg15 2mo agoYeah, that makes sense.
- chrisweekly 2mo agorewolves? EDIT: ah, "resolves" typo. was v curious about python's mysterious "wolfing" aspects
- xg15 2mo agoYes, 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 2mo agoYou wouldn't expect ... = 42 to work syntactically.