Permalink
Browse files

autoindent deprecated since IPython 5

  • Loading branch information...
takluyver committed Jan 19, 2017
1 parent e39a9f5 commit a0373a3a7be5e8748d3c0a34aa218653be19393a
Showing with 2 additions and 2 deletions.
  1. +2 −2 IPython/terminal/magics.py
@@ -82,8 +82,8 @@ def rerun_pasted(self, name='pasted_block'):
@line_magic
def autoindent(self, parameter_s = ''):
"""Toggle autoindent on/off (deprecated)"""
- print("%autoindent is deprecated: you can now paste multiple lines "
- "without turning autoindentation off.")
+ print("%autoindent is deprecated since IPython 5: you can now paste "
+ "multiple lines without turning autoindentation off.")
self.shell.set_autoindent()
print("Automatic indentation is:",['OFF','ON'][self.shell.autoindent])

0 comments on commit a0373a3

Please sign in to comment.