1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# --- path: foo/bar.py --- BAR = 42 # --- path: test.py --- import foo.bar as qux qux.BAR # ^ defined: 7, 3 # ^ defined: 3 foo # ^ defined: bar # ^ defined: