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
Attached patch makes the grammar parse things in type position as normal expressions — since they are. Is that okay, or do you want some kind of custom highlighting for such expressions? (This'd require duplicating some stuff and introducing some irregularity in the way things are parsed, so I'm not sure it's a good idea.)
see https://www.python.org/dev/peps/pep-0484/
pressing enter at the end of the last or second to last lines changes the indentation to 0, whereas it should indent to 4 in both cases.
Also the type annotation isn't highlighted as a type.
The text was updated successfully, but these errors were encountered: