Show More
@@ -407,8 +407,11 b' def _strip_prompts(prompt_re, initial_re=None, turnoff_re=None):' | |||||
407 | If no initial expression is given, prompt_re will be used everywhere. |
|
407 | If no initial expression is given, prompt_re will be used everywhere. | |
408 | Used mainly for plain Python prompts, where the continuation prompt |
|
408 | Used mainly for plain Python prompts, where the continuation prompt | |
409 | ``...`` is a valid Python expression in Python 3, so shouldn't be stripped. |
|
409 | ``...`` is a valid Python expression in Python 3, so shouldn't be stripped. | |
410 | If initial_re and prompt_re differ, |
|
410 | ||
411 | only initial_re will be tested against the first line. |
|
411 | Notes | |
|
412 | ----- | |||
|
413 | If `initial_re` and `prompt_re differ`, | |||
|
414 | only `initial_re` will be tested against the first line. | |||
412 | If any prompt is found on the first two lines, |
|
415 | If any prompt is found on the first two lines, | |
413 | prompts will be stripped from the rest of the block. |
|
416 | prompts will be stripped from the rest of the block. | |
414 | """ |
|
417 | """ |
@@ -494,10 +494,14 b' class NamespaceMagics(Magics):' | |||||
494 | may allow you to reimport Python modules that have been updated and |
|
494 | may allow you to reimport Python modules that have been updated and | |
495 | pick up changes, but can have unattended consequences. |
|
495 | pick up changes, but can have unattended consequences. | |
496 |
|
496 | |||
497 | in : reset input history |
|
497 | in | |
498 |
|
|
498 | reset input history | |
499 | dhist : reset directory history |
|
499 | out | |
500 | array : reset only variables that are NumPy arrays |
|
500 | reset output history | |
|
501 | dhist | |||
|
502 | reset directory history | |||
|
503 | array | |||
|
504 | reset only variables that are NumPy arrays | |||
501 |
|
505 | |||
502 | See Also |
|
506 | See Also | |
503 | -------- |
|
507 | -------- |
@@ -580,7 +580,7 b' class Inspector(Colorable):' | |||||
580 | oname: str (default: ''): |
|
580 | oname : str (default: ''): | |
581 | Name of the variable pointing to `obj`. |
|
581 | Name of the variable pointing to `obj`. | |
582 | formatter : callable |
|
582 | formatter : callable | |
583 |
info |
|
583 | info | |
584 | already computed information |
|
584 | already computed information | |
585 | detail_level : integer |
|
585 | detail_level : integer | |
586 | Granularity of detail level, if set to 1, give more information. |
|
586 | Granularity of detail level, if set to 1, give more information. |
General Comments 0
You need to be logged in to leave comments.
Login now