Show More
@@ -175,7 +175,6 b' def _ast_asyncify(cell:str, wrapper_name:str) -> ast.Module:' | |||||
175 |
|
175 | |||
176 | Parameters |
|
176 | Parameters | |
177 | ---------- |
|
177 | ---------- | |
178 |
|
||||
179 | cell: str |
|
178 | cell: str | |
180 | The code cell to asyncronify |
|
179 | The code cell to asyncronify | |
181 | wrapper_name: str |
|
180 | wrapper_name: str | |
@@ -185,7 +184,6 b' def _ast_asyncify(cell:str, wrapper_name:str) -> ast.Module:' | |||||
185 |
|
184 | |||
186 | Returns |
|
185 | Returns | |
187 | ------- |
|
186 | ------- | |
188 |
|
||||
189 | ModuleType: |
|
187 | ModuleType: | |
190 | A module object AST containing **one** function named `wrapper_name`. |
|
188 | A module object AST containing **one** function named `wrapper_name`. | |
191 |
|
189 | |||
@@ -1130,7 +1128,6 b' class InteractiveShell(SingletonConfigurable):' | |||||
1130 |
|
1128 | |||
1131 | Examples |
|
1129 | Examples | |
1132 | -------- |
|
1130 | -------- | |
1133 |
|
||||
1134 | In [15]: import IPython |
|
1131 | In [15]: import IPython | |
1135 |
|
1132 | |||
1136 | In [16]: m = _ip.new_main_mod(IPython.__file__, 'IPython') |
|
1133 | In [16]: m = _ip.new_main_mod(IPython.__file__, 'IPython') | |
@@ -2290,10 +2287,8 b' class InteractiveShell(SingletonConfigurable):' | |||||
2290 | ---------- |
|
2287 | ---------- | |
2291 | magic_name : str |
|
2288 | magic_name : str | |
2292 | Name of the desired magic function, without '%' prefix. |
|
2289 | Name of the desired magic function, without '%' prefix. | |
2293 |
|
||||
2294 | line : str |
|
2290 | line : str | |
2295 | The rest of the input line as a single string. |
|
2291 | The rest of the input line as a single string. | |
2296 |
|
||||
2297 | _stack_depth : int |
|
2292 | _stack_depth : int | |
2298 | If run_line_magic() is called from magic() then _stack_depth=2. |
|
2293 | If run_line_magic() is called from magic() then _stack_depth=2. | |
2299 | This is added to ensure backward compatibility for use of 'get_ipython().magic()' |
|
2294 | This is added to ensure backward compatibility for use of 'get_ipython().magic()' | |
@@ -2344,10 +2339,8 b' class InteractiveShell(SingletonConfigurable):' | |||||
2344 | ---------- |
|
2339 | ---------- | |
2345 | magic_name : str |
|
2340 | magic_name : str | |
2346 | Name of the desired magic function, without '%' prefix. |
|
2341 | Name of the desired magic function, without '%' prefix. | |
2347 |
|
||||
2348 | line : str |
|
2342 | line : str | |
2349 | The rest of the first input line as a single string. |
|
2343 | The rest of the first input line as a single string. | |
2350 |
|
||||
2351 | cell : str |
|
2344 | cell : str | |
2352 | The body of the cell as a (possibly multiline) string. |
|
2345 | The body of the cell as a (possibly multiline) string. | |
2353 | """ |
|
2346 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now