You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without understanding the module hierarchy, we can't distinguish
between a module and a class in a dotted name like `foo.bar.A.B`, and
will insert code like `from foo.bar.A import B`, even though `A` is a
class.
Work around this by using : to separate the module and class name
if the class is nested inside another class.
The fix works only on Python 3 since it uses `__qualname__`.
0 commit comments