Commit 8d35dac
committed
PyREPL: fix completion inserted if spaces in import statements
Fix `from math .<tab>` inserting `from math .ath.integer` instead of `from math.integer`1 parent 3a7df63 commit 8d35dac
File tree
3 files changed
+38
-3
lines changed- Lib
- _pyrepl
- test/test_pyrepl
- Misc/NEWS.d/next/Core_and_Builtins
3 files changed
+38
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
303 | 325 | | |
304 | 326 | | |
305 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
1179 | 1185 | | |
1180 | 1186 | | |
1181 | 1187 | | |
| |||
1564 | 1570 | | |
1565 | 1571 | | |
1566 | 1572 | | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1567 | 1576 | | |
1568 | 1577 | | |
| 1578 | + | |
| 1579 | + | |
1569 | 1580 | | |
1570 | 1581 | | |
1571 | 1582 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments