-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Description
Given the following module structure:
top
|-- __init__.py
|-- b
| |-- __init__.py
| `-- _b.py
`-- c.py
And the following module contents:
top/__init__.py:
from .b import *
from .c import *top/b/__init__.py:
from ._b import *top/b/_b.py:
import top
class Cls:
passtop/c.py:
from . import b
foo: b.Cls = Nonemypy -m top fails to resolve b.Cls:
top/c.py:2: error: Name 'b.Cls' is not defined
Reactions are currently unavailable