Commit c6ce270
committed
Import main from bpython.{cli,gtk_} when the modules are executed directly.
Otherwise, "import bpython.cli" will be another module and you can't access
e.g. "bpython.cli.stdscr" (for testing purposes only, of course).1 parent 973e82a commit c6ce270
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1610 | 1610 | | |
1611 | 1611 | | |
1612 | 1612 | | |
| 1613 | + | |
1613 | 1614 | | |
1614 | 1615 | | |
1615 | 1616 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| 698 | + | |
698 | 699 | | |
0 commit comments