##// END OF EJS Templates
magic_edit: Return & show edited contents (again)
vivainio -
Show More
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Magic functions for InteractiveShell.
2 """Magic functions for InteractiveShell.
3
3
4 $Id: Magic.py 1018 2006-01-14 11:02:50Z vivainio $"""
4 $Id: Magic.py 1023 2006-01-16 19:11:21Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
@@ -1941,6 +1941,8 b' Currently the magic system has the following functions:\\n"""'
1941 self.shell.showtraceback()
1941 self.shell.showtraceback()
1942 except:
1942 except:
1943 self.shell.showtraceback()
1943 self.shell.showtraceback()
1944 if use_temp:
1945 return open(filename).read()
1944
1946
1945 def magic_xmode(self,parameter_s = ''):
1947 def magic_xmode(self,parameter_s = ''):
1946 """Switch modes for the exception handlers.
1948 """Switch modes for the exception handlers.
General Comments 0
You need to be logged in to leave comments. Login now