Skip to content

Commit

Permalink
Merge pull request #3530 from minrk/storedoc
Browse files Browse the repository at this point in the history
update %store magic docstring

reflects the fact that auto restore is not the default behavior
  • Loading branch information
Carreau committed Jul 4, 2013
2 parents 4e7b8eb + b009e52 commit c28f66b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions IPython/extensions/storemagic.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ def store(self, parameter_s=''):
ville@badger:~$ ipython
In [1]: l
Out[1]: ['hello', 10, 'world']
NameError: name 'l' is not defined
In [2]: %store -r
In [3]: l
Out[3]: ['hello', 10, 'world']
Usage:
Expand All @@ -98,7 +101,7 @@ def store(self, parameter_s=''):
to disk
* ``%store -d spam`` - Remove the variable and its value from storage
* ``%store -z`` - Remove all variables from storage
* ``%store -r`` - Refresh all variables from store (delete
* ``%store -r`` - Refresh all variables from store (overwrite
current vals)
* ``%store -r spam bar`` - Refresh specified variables from store
(delete current val)
Expand Down

0 comments on commit c28f66b

Please sign in to comment.