Show More
@@ -82,8 +82,8 b' class TerminalMagics(Magics):' | |||||
82 | @line_magic |
|
82 | @line_magic | |
83 | def autoindent(self, parameter_s = ''): |
|
83 | def autoindent(self, parameter_s = ''): | |
84 | """Toggle autoindent on/off (deprecated)""" |
|
84 | """Toggle autoindent on/off (deprecated)""" | |
85 |
print("%autoindent is deprecated: you can now paste |
|
85 | print("%autoindent is deprecated since IPython 5: you can now paste " | |
86 | "without turning autoindentation off.") |
|
86 | "multiple lines without turning autoindentation off.") | |
87 | self.shell.set_autoindent() |
|
87 | self.shell.set_autoindent() | |
88 | print("Automatic indentation is:",['OFF','ON'][self.shell.autoindent]) |
|
88 | print("Automatic indentation is:",['OFF','ON'][self.shell.autoindent]) | |
89 |
|
89 |
General Comments 0
You need to be logged in to leave comments.
Login now