Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Scope `from`, `import`, and `as` the same way in imports. #165
Conversation
Use `keyword.control.import.python` scope for `from`, `import`, and `as` keywords when they appear as part of an import statement. Use `keyword.control.flow.python` scope for `from` and `as` if they appear elsewhere. Issue: #123.
Use
keyword.control.import.pythonscope forfrom,import, andaskeywords when they appear as part of an import statement.
Use
keyword.control.flow.pythonscope forfromandasif theyappear elsewhere.
Issue: #123.