Show More
@@ -1,7 +1,7 b'' | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | """Magic functions for InteractiveShell. |
|
3 | 3 | |
|
4 |
$Id: Magic.py 11 |
|
|
4 | $Id: Magic.py 1173 2006-02-21 16:24:01Z vivainio $""" | |
|
5 | 5 | |
|
6 | 6 | #***************************************************************************** |
|
7 | 7 | # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and |
@@ -1706,7 +1706,7 b' Currently the magic system has the following functions:\\n"""' | |||
|
1706 | 1706 | It adds a '.py' extension to the file if you don't do so yourself, and |
|
1707 | 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 | 1710 | fname,ranges = args[0], args[1:] |
|
1711 | 1711 | if not fname.endswith('.py'): |
|
1712 | 1712 | fname += '.py' |
General Comments 0
You need to be logged in to leave comments.
Login now