cpython/Misc/NEWS.d/next/Core and Builtins/2024-04-19-11-59-57.gh-issue-118082._FLuOT.rst

3 lines
196 B
ReStructuredText

Improve :exc:`SyntaxError` message for imports without names, like in
``from x import`` and ``import`` cases. It now points
out to users that :keyword:`import` expects at least one name after it.