##// 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 407 If no initial expression is given, prompt_re will be used everywhere.
408 408 Used mainly for plain Python prompts, where the continuation prompt
409 409 ``...`` is a valid Python expression in Python 3, so shouldn't be stripped.
410 If initial_re and prompt_re differ,
411 only initial_re will be tested against the first line.
410
411 Notes
412 -----
413 If `initial_re` and `prompt_re differ`,
414 only `initial_re` will be tested against the first line.
412 415 If any prompt is found on the first two lines,
413 416 prompts will be stripped from the rest of the block.
414 417 """
@@ -483,9 +483,9 b' class NamespaceMagics(Magics):'
483 483 Parameters
484 484 ----------
485 485 -f
486 force reset without asking for confirmation.
486 force reset without asking for confirmation.
487 487 -s
488 'Soft' reset: Only clears your namespace, leaving history intact.
488 'Soft' reset: Only clears your namespace, leaving history intact.
489 489 References to objects may be kept. By default (without this option),
490 490 we do a 'hard' reset, giving you a new session and removing all
491 491 references to objects from the current session.
@@ -494,10 +494,14 b' class NamespaceMagics(Magics):'
494 494 may allow you to reimport Python modules that have been updated and
495 495 pick up changes, but can have unattended consequences.
496 496
497 in : reset input history
498 out : reset output history
499 dhist : reset directory history
500 array : reset only variables that are NumPy arrays
497 in
498 reset input history
499 out
500 reset output history
501 dhist
502 reset directory history
503 array
504 reset only variables that are NumPy arrays
501 505
502 506 See Also
503 507 --------
@@ -577,10 +577,10 b' class Inspector(Colorable):'
577 577 ----------
578 578 obj : any
579 579 Object to inspect and return info from
580 oname: str (default: ''):
580 oname : str (default: ''):
581 581 Name of the variable pointing to `obj`.
582 582 formatter : callable
583 info:
583 info
584 584 already computed information
585 585 detail_level : integer
586 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