function name + tab does not return docstring in IPython

前端 未结 3 2101
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 09:25

In IPython, I am used to write

function(

and then strike a tab, and get the contents of the docstring and a list of the named argume

3条回答
  •  天命终不由人
    2021-02-02 09:48

    Shift-tab only works when you place the edit cursor inside or after the object. Not when it's at the start of the object. This gotcha is not documented anywhere...!

    I filed jupyter issue Shift-Tab completion doesn't work when edit cursor is at the start of the object #1902

提交回复
热议问题