Feature or enhancement
Right now it shows:
>>> import a as b.c
File "<unknown>", line 1
import a as b.c
^
SyntaxError: invalid syntax
Proposed message:
>>> import a as b.c
File "<unknown>", line 1
import a as b.c
^^^
SyntaxError: cannot use import statement with attribute
Refs #123440
I have a PR ready.
Linked PRs