##// END OF EJS Templates
Leave inputsplitter.indent_spaces for backwards compatibility
Thomas Kluyver -
Show More
@@ -499,6 +499,11 b' class InputSplitter(object):'
499 self._indent_spaces_cache = (self.source, n)
499 self._indent_spaces_cache = (self.source, n)
500 return n
500 return n
501
501
502 # Backwards compatibility. I think all code that used .indent_spaces was
503 # inside IPython, but we can leave this here until IPython 7 in case any
504 # other modules are using it. -TK, November 2017
505 indent_spaces = property(get_indent_spaces)
506
502 def _store(self, lines, buffer=None, store='source'):
507 def _store(self, lines, buffer=None, store='source'):
503 """Store one or more lines of input.
508 """Store one or more lines of input.
504
509
General Comments 0
You need to be logged in to leave comments. Login now