You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 2 represents negative numeric literals as Num(n=-NUMBER), but Python 3 represents them as UnaryOp(op=USub(), operand=Num(n=NUMBER)). This commit makes the conversions module actually make this change.
Fixespython/mypy#1788.
The test case for this is pretty simple, access the last element of a tuple using -1.
The text was updated successfully, but these errors were encountered: