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 1163 2006-02-15 14:10:49Z vivainio $""" | |
|
5 | 5 | |
|
6 | 6 | #***************************************************************************** |
|
7 | 7 | # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and |
@@ -2112,9 +2112,9 b' Defaulting color scheme to \'NoColor\'"""' | |||
|
2112 | 2112 | def magic_Pprint(self, parameter_s=''): |
|
2113 | 2113 | """Toggle pretty printing on/off.""" |
|
2114 | 2114 | |
|
2115 |
self.shell. |
|
|
2115 | self.shell.rc.pprint = 1 - self.shell.rc.pprint | |
|
2116 | 2116 | print 'Pretty printing has been turned', \ |
|
2117 |
['OFF','ON'][self.shell. |
|
|
2117 | ['OFF','ON'][self.shell.rc.pprint] | |
|
2118 | 2118 | |
|
2119 | 2119 | def magic_exit(self, parameter_s=''): |
|
2120 | 2120 | """Exit IPython, confirming if configured to do so. |
General Comments 0
You need to be logged in to leave comments.
Login now