Open
Description
This case found when typing in a variables.py example.
Up to here, all entries and behavior is fine (note cursor position and code hint):
And here, one ")" character later, still fine (though I don't see how try/except is a good suggestion)
But then upon hitting enter key, that "a)" is replaced with the hinted block - not at all what user expects at that moment.