10000 fixup! fixup! gh-98931: Improve error message when the user types 'im… · pablogsal/cpython@fb08d31 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb08d31

Browse files
committed
fixup! fixup! pythongh-98931: Improve error message when the user types 'import x from y' instead of 'from y import x'
1 parent 207d6e1 commit fb08d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Improved Error Messages
8080
File "<stdin>", line 1
8181
import a.y.z from b.y.z
8282
^^^^^^^^^^^^^^^^^^^^^^^
83-
SyntaxError: Did you meant to use 'from ... import ...' instead?
83+
SyntaxError: Did you mean to use 'from ... import ...' instead?
8484

8585
New Features
8686
============

0 commit comments

Comments
 (0)
0