##// END OF EJS Templates
%save works again
vivainio -
r199:259422cc
parent child
Show More
@@ -1,7 +1,7
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Magic functions for InteractiveShell.
2 """Magic functions for InteractiveShell.
3
3
4 $Id: Magic.py 1166 2006-02-15 19:20:58Z vivainio $"""
4 $Id: Magic.py 1173 2006-02-21 16:24:01Z 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
@@ -1706,7 +1706,7 Currently the magic system has the following functions:\n"""
1706 It adds a '.py' extension to the file if you don't do so yourself, and
1706 It adds a '.py' extension to the file if you don't do so yourself, and
1707 it asks for confirmation before overwriting existing files."""
1707 it asks for confirmation before overwriting existing files."""
1708
1708
1709 opts,args = self.parse_options(parameter_s,'r')
1709 opts,args = self.parse_options(parameter_s,'r', mode = 'list')
1710 fname,ranges = args[0], args[1:]
1710 fname,ranges = args[0], args[1:]
1711 if not fname.endswith('.py'):
1711 if not fname.endswith('.py'):
1712 fname += '.py'
1712 fname += '.py'
@@ -1,3 +1,7
1 2006-02-21 Ville Vainio <vivainio@gmail.com>
2
3 * Magic.py: %save works again.
4
1 2006-02-15 Ville Vainio <vivainio@gmail.com>
5 2006-02-15 Ville Vainio <vivainio@gmail.com>
2
6
3 * Magic.py: %Pprint works again
7 * Magic.py: %Pprint works again
General Comments 0
You need to be logged in to leave comments. Login now