Shreyan Avigyan <shreyan.avig...@gmail.com> added the comment:

The bad token example needs a fix but the second is actually ok because we have 
another type we write within curly braces "{" and there the error is actually 
perfect. Like if we follow the error message, we use

ages = {'Alice'==22}

And we actually get a "set" with the first value as False. Sets behaves 
syntactically like list but have different behaviors of mathematical sets.

----------
nosy: +shreyanavigyan

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44180>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to