[issue45284] Better `TypeError` message when a string is indexed using a non int

2021-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also https://bugs.python.org/issue44110 . This looks like a duplicate. Also https://bugs.python.org/issue35077 -- nosy: +xtreak ___ Python tracker

[issue45284] Better `TypeError` message when a string is indexed using a non int

2021-09-24 Thread Rin RIn
Change by Rin RIn : -- title: Better `TypeError` message when a string is indexed using a string -> Better `TypeError` message when a string is indexed using a non int ___ Python tracker