Closed jcfernandez-890825 closed 6 months ago
Hello @jcfernandez-890825 ,
The code sample to reproduce the exception:
a = (1, 2)[-1]
This is a PyCharm bug (https://youtrack.jetbrains.com/issues?q=project:%20PyCharm&preview=PY-64474). They fixed it in the commit https://github.com/JetBrains/intellij-community/commit/4a7ad7fbcf02af68d69643523130eb0dfd060cfe. We need to wait for a new PyCharm update.
Hi @jcfernandez-890825 , PyCharm 2023.3.2 has been released with the fix for this bug.