| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…rom y' instead of 'from y import x'
There was a problem hiding this comment.
Good one! Just one suggestion for the error message.
Sorry, something went wrong.
| RAISE_SYNTAX_ERROR_KNOWN_LOCATION(a, "cannot use double starred expression here") } | ||
| invalid_import: | ||
| | a='import' dotted_name 'from' dotted_name { | ||
| RAISE_SYNTAX_ERROR_STARTING_FROM(a, "Did you meant to use 'from ... import ...' instead?") } |
There was a problem hiding this comment.
Ditto in tests and docs.
| RAISE_SYNTAX_ERROR_STARTING_FROM(a, "Did you meant to use 'from ... import ...' instead?") } | |
| RAISE_SYNTAX_ERROR_STARTING_FROM(a, "Did you mean to use 'from ... import ...' instead?") } |
Sorry, something went wrong.
There was a problem hiding this comment.
Done! Thanks for the review :)
Sorry, something went wrong.
There was a problem hiding this comment.
Of course! I think you missed the one in whatsnew?
Sorry, something went wrong.
…ort x from y' instead of 'from y import x'
…es 'import x from y' instead of 'from y import x'
|
Will fix the doctest tomorrow |
Sorry, something went wrong.
Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
There was a problem hiding this comment.
Go!
Sorry, something went wrong.
|
🚀 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes: #98931