logoalt Hacker News

xg15yesterday at 10:04 PM2 repliesview on HN

Isn't "..." then also behaving like True, False and None, i.e. being a lexical token that rewolves to a hardwired value during parsing?


Replies

chrisweeklyyesterday at 11:19 PM

rewolves? EDIT: ah, "resolves" typo. was v curious about python's mysterious "wolfing" aspects

show 1 reply
zahlmanyesterday at 10:34 PM

It is, but Ellipsis is just an ordinary pre-defined constant (with the same value).

show 1 reply