Skip to content
Snippets Groups Projects
Unverified Commit 5e236e32 authored by Savici, Andrei T.'s avatar Savici, Andrei T. Committed by GitHub
Browse files

Update inputsplitter.py

parent 576ca0d7
No related merge requests found
......@@ -72,6 +72,8 @@ class InputSplitter(IPyInputSplitter):
self._update_indent(lines)
except TypeError: # _update_indent was changed in IPython 6.0
self._update_indent()
except AttributeError: # changed definition in IPython 6.3
self.get_indent_spaces()
try:
self.code = self._compile(source, symbol="exec")
# Invalid syntax can produce any of a number of different errors from
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment