Skip to content

Item scope in non-from python imports behaves unexpectedly #1876

@dyamito

Description

@dyamito
from foo import bar, baz

chucking item bar results in a valid from foo import baz.

but in

import foo, bar, baz

chucking item foo results in bar, baz (removing import as well).

Metadata

Metadata

Labels

bugSomething isn't workinglang-pythonIssues related to Python programming language support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions