Commit cd483f2
authored
Fix error on tab completions (ipython#15076)
### Fixes ipython#15075
### Description
Added a logic to check whether the node we have is `ast.Expr` before
trying to access its `value`.2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
| 1355 | + | |
| 1356 | + | |
1355 | 1357 | | |
1356 | 1358 | | |
1357 | 1359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2688 | 2688 | | |
2689 | 2689 | | |
2690 | 2690 | | |
| 2691 | + | |
2691 | 2692 | | |
2692 | 2693 | | |
2693 | 2694 | | |
| |||
0 commit comments