docs
update yap_kernel lbfgs
This commit is contained in:
@@ -9,7 +9,6 @@ import os
|
||||
import sys
|
||||
|
||||
from yap_ipython.core.error import TryNext, UsageError
|
||||
from yap_ipython.core.inputsplitter import IPythonInputSplitter
|
||||
from yap_ipython.core.magic import Magics, magics_class, line_magic
|
||||
from yap_ipython.lib.clipboard import ClipboardEmpty
|
||||
from yap_ipython.utils.text import SList, strip_email_quotes
|
||||
@@ -40,7 +39,6 @@ def get_pasted_lines(sentinel, l_input=py3compat.input, quiet=False):
|
||||
class TerminalMagics(Magics):
|
||||
def __init__(self, shell):
|
||||
super(TerminalMagics, self).__init__(shell)
|
||||
self.input_splitter = IPythonInputSplitter()
|
||||
|
||||
def store_or_execute(self, block, name):
|
||||
""" Execute a block, or store it in a variable, per the user's request.
|
||||
@@ -82,8 +80,6 @@ class TerminalMagics(Magics):
|
||||
@line_magic
|
||||
def autoindent(self, parameter_s = ''):
|
||||
"""Toggle autoindent on/off (deprecated)"""
|
||||
print("%autoindent is deprecated since yap_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])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user