%config IPCompleter.greedy = True 的目的是什么?

What is the purpose of %config IPCompleter.greedy = True?

我有点学习 ML。就可以跨越这些命令

%config IPCompleter.greedy = True
%config InlineBackend.figure_format = 'retina'

我能够在网络上搜索到与这些相关的结果,但找不到它的用途。如果有人可以分享一些信息或与这些有关的任何文档将会有所帮助......提前谢谢你

运行 %config IPCompleter 从内部 ipython 获取可用选项的列表和描述。请注意 greedy 已弃用,但我在下面附上其说明以供参考:

IPCompleter.greedy=<Bool>
    Activate greedy completion PENDING DEPRECTION. this is now mostly taken care
    of with Jedi.
    This will enable completion on elements of lists, results of function calls,
    etc., but can be unsafe because the code is actually evaluated on TAB.