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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KOYNZJP3VO4YU3NO4S2JM7WTIA5FPIZ5/ Code of Conduct: http://python.org/psf/codeofconduct/
