Show More
@@ -13,7 +13,7 def code_to_line(code, cursor_pos): | |||||
13 | """Turn a multiline code block and cursor position into a single line |
|
13 | """Turn a multiline code block and cursor position into a single line | |
14 | and new cursor position. |
|
14 | and new cursor position. | |
15 |
|
15 | |||
16 |
For adapting complete_ and object_info_request |
|
16 | For adapting ``complete_`` and ``object_info_request``. | |
17 | """ |
|
17 | """ | |
18 | for line in code.splitlines(True): |
|
18 | for line in code.splitlines(True): | |
19 | n = len(line) |
|
19 | n = len(line) |
@@ -14,7 +14,7 The execution of use code consists of the following phases: | |||||
14 |
|
14 | |||
15 | .. seealso:: |
|
15 | .. seealso:: | |
16 |
|
16 | |||
17 | :doc:`config/callbacks` |
|
17 | :doc:`/config/callbacks` | |
18 |
|
18 | |||
19 |
|
19 | |||
20 | To understand how the ``code`` field is executed, one must know that Python |
|
20 | To understand how the ``code`` field is executed, one must know that Python |
General Comments 0
You need to be logged in to leave comments.
Login now