On 2021-05-31 16:16:59, MRAB wrote:
> If you rebind str to int, the repr of str will say <class 'int'>, so you can
> tell that something's happened, but the repr of ... is always 'Ellipsis',
> even though you've rebound Ellipsis.

> >>> Ellipsis is ...
> True
> >>> Ellipsis = str
> >>> Ellipsis is ...
> False
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KOYNZJP3VO4YU3NO4S2JM7WTIA5FPIZ5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to