Commit 774e341
Marcel Wolf
invoke IPython's run magic as %run instead of run
If the source file defines or imports a symbol named 'run', that symbol
takes precedence over IPython's run, leading to a syntax error being
thrown when invoking run_this_file()
Using %run removes the ambiguity.1 parent 7e948b1 commit 774e341
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
435 | | - | |
| 434 | + | |
| 435 | + | |
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| |||
0 commit comments