ipython / ipython/ipython

Function Pasted with %cpaste Not Available In Editor with %edit

Offen
#6,502 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @takluyver Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
16.8k
Forks
4.5k
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
6

Beschreibung

I use %edit to edit functions from Ipython in Vim. But when I attempt this with any function that I pasted in with %cpaste all I get in my editor is 'get_ipython().magic('cpaste')', instead of the function.

Tested on Linux, Python 3.4 with Ipython 2.2.0 and 3.0.0-dev.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.