Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaks to RST formatting.

  • Loading branch information...
commit 207b059af561e620bf127d808280db9be972eed5 1 parent a87f405
@takluyver authored
Showing with 5 additions and 8 deletions.
  1. +2 −3 IPython/core/history.py
  2. +3 −5 IPython/core/magic.py
View
5 IPython/core/history.py
@@ -348,9 +348,8 @@ def magic_history(self, parameter_s = ''):
the given file. The file is always overwritten, though IPython asks for
confirmation first if it already exists.
- Example
- -------
-
+ Examples
+ --------
::
In [6]: %hist -n 4 6
View
8 IPython/core/magic.py
@@ -2607,9 +2607,8 @@ def magic_rehashx(self, parameter_s = ''):
def magic_pwd(self, parameter_s = ''):
"""Return the current working directory path.
- Example
- -------
-
+ Examples
+ --------
::
In [9]: pwd
@@ -2649,9 +2648,8 @@ def magic_cd(self, parameter_s=''):
Note that !cd doesn't work for this purpose because the shell where
!command runs is immediately discarded after executing 'command'.
- Example
+ Examples
--------
-
::
In [10]: cd parent/child
Please sign in to comment.
Something went wrong with that request. Please try again.