##// END OF EJS Templates
docstring fixes
Matthias Bussonnier -
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 """
@@ -483,9 +483,9 b' class NamespaceMagics(Magics):'
483 Parameters
483 Parameters
484 ----------
484 ----------
485 -f
485 -f
486 force reset without asking for confirmation.
486 force reset without asking for confirmation.
487 -s
487 -s
488 'Soft' reset: Only clears your namespace, leaving history intact.
488 'Soft' reset: Only clears your namespace, leaving history intact.
489 References to objects may be kept. By default (without this option),
489 References to objects may be kept. By default (without this option),
490 we do a 'hard' reset, giving you a new session and removing all
490 we do a 'hard' reset, giving you a new session and removing all
491 references to objects from the current session.
491 references to objects from the current session.
@@ -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 out : reset output history
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 --------
@@ -577,10 +577,10 b' class Inspector(Colorable):'
577 ----------
577 ----------
578 obj : any
578 obj : any
579 Object to inspect and return info from
579 Object to inspect and return info from
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