Show More
@@ -476,7 +476,8 b' def rectify_completions(text: str, completions: _IC, *, _debug=False)->_IC:' | |||||
476 | completions: Iterator[Completion] |
|
476 | completions: Iterator[Completion] | |
477 | iterator over the completions to rectify |
|
477 | iterator over the completions to rectify | |
478 |
|
478 | |||
479 |
|
479 | Notes | ||
|
480 | ----- | |||
480 | :any:`jedi.api.classes.Completion` s returned by Jedi may not have the same start and end, though |
|
481 | :any:`jedi.api.classes.Completion` s returned by Jedi may not have the same start and end, though | |
481 | the Jupyter Protocol requires them to behave like so. This will readjust |
|
482 | the Jupyter Protocol requires them to behave like so. This will readjust | |
482 | the completion to have the same ``start`` and ``end`` by padding both |
|
483 | the completion to have the same ``start`` and ``end`` by padding both | |
@@ -1422,8 +1423,8 b' class IPCompleter(Completer):' | |||||
1422 | text : str |
|
1423 | text : str | |
1423 | text to complete |
|
1424 | text to complete | |
1424 |
|
1425 | |||
1425 |
|
|
1426 | Notes | |
1426 |
----- |
|
1427 | ----- | |
1427 |
|
1428 | |||
1428 | If ``IPCompleter.debug`` is ``True`` may return a :any:`_FakeJediCompletion` |
|
1429 | If ``IPCompleter.debug`` is ``True`` may return a :any:`_FakeJediCompletion` | |
1429 | object containing a string with the Jedi debug information attached. |
|
1430 | object containing a string with the Jedi debug information attached. | |
@@ -1874,8 +1875,11 b' class IPCompleter(Completer):' | |||||
1874 |
|
1875 | |||
1875 | Yields |
|
1876 | Yields | |
1876 | ------ |
|
1877 | ------ | |
1877 |
|
|
1878 | Completion | |
|
1879 | ||||
1878 |
|
1880 | |||
|
1881 | Notes | |||
|
1882 | ----- | |||
1879 |
|
1883 | |||
1880 | The cursor on a text can either be seen as being "in between" |
|
1884 | The cursor on a text can either be seen as being "in between" | |
1881 | characters or "On" a character depending on the interface visible to |
|
1885 | characters or "On" a character depending on the interface visible to | |
@@ -2047,7 +2051,8 b' class IPCompleter(Completer):' | |||||
2047 | A list of completion matches. |
|
2051 | A list of completion matches. | |
2048 |
|
2052 | |||
2049 |
|
2053 | |||
2050 |
|
|
2054 | Notes | |
|
2055 | ----- | |||
2051 |
|
2056 | |||
2052 | This API is likely to be deprecated and replaced by |
|
2057 | This API is likely to be deprecated and replaced by | |
2053 | :any:`IPCompleter.completions` in the future. |
|
2058 | :any:`IPCompleter.completions` in the future. |
General Comments 0
You need to be logged in to leave comments.
Login now