Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Doc magic edit #220

Closed
wants to merge 1 commit into from

2 participants

srija Thomas Kluyver
srija

Added examples for %edit as part scipy india sprint

Manasa Cholleti Summary Line :
Added an example : For edit command
work done as a team by:
-Kalluri.Sivalatha
-Nadendla.srija
-CHOLLETI.Maanasa
-Kamepalli.Triveni
dab21f6
Thomas Kluyver
Owner

Closed as duplicate of #230

Damián Avila damianavila referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 18, 2010
  1. Summary Line :

    Manasa Cholleti authored
    Added an example : For edit command
    work done as a team by:
    -Kalluri.Sivalatha
    -Nadendla.srija
    -CHOLLETI.Maanasa
    -Kamepalli.Triveni
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 1 deletion.
  1. +13 −1 IPython/core/magic.py
14 IPython/core/magic.py
View
@@ -2179,7 +2179,19 @@ def magic_edit(self,parameter_s='',last_call=['','']):
is defined in the IPython.core.hooks module, and you can use that as a
starting example for further modifications. That file also has
general instructions on how to set a new hook for use once you've
- defined it."""
+ defined it.
+
+ Example:
+ -------
+ Some Example::
+ In [6]:ed -p
+ Editing... done. Executing edited code...
+ FOSSEE
+ # this will call the editor with the same data as the previous time
+ it was used, regardless of how long ago (in the current session)
+ it was.
+
+"""
# FIXME: This function has become a convoluted mess. It needs a
# ground-up rewrite with clean, simple logic.
Something went wrong with that request. Please try again.