请问PYTHON中“ real signature unknown; restored from __doc__”和“# reliably restored by inspect“分别是什么意思?

菜鸟在看WXPYTHON,
问题1:
其中有行代码self.m_choice2.SetSelection(0)
我CTRL+鼠标去点击SetSelection,跳转到源码,源码显示如下:

def SetSelection(self, n): # real signature unknown; restored from __doc__
    """
    SetSelection(n)

    Sets the selection to the given item n or removes the selection
    entirely if n == wxNOT_FOUND.
    """
    pass

我的疑问是,为什么这个方法里面是空的,只有一个PASS

real signature unknown; restored from doc 又是什么意思?

问题2:
其中有行代码 self.m_choice2.SetItems(selected_cols_list_)_
我CTRL+鼠标去点击SetItems,跳转到源码,源码显示如下:

def SetItems(self, items): # reliably restored by inspect
    # no doc
    pass

我的疑问是,为什么这个方法里面是空的,只有一个PASS

reliably restored by inspect 又是什么意思?

谢谢各位

https://recomm.cnblogs.com/blogpost/6351585

你得去官网看下。