Python 2.7 getfullargspec等效版本

Python 2.7 getfullargspec等效版本,python,python-2.7,Python,Python 2.7,谁能给我指一下正确的方向吗?我正在尝试确定Python3 inspect模块中可用的getfullargspec的等效项,但目前尚未成功。您需要。它最接近于getfullargspec,因为在Python 2.7中没有只包含关键字的参数,所以不会检查。getargspec是您想要的吗?我也在考虑它。如果你把它作为答案贴出来,我会投你的票。

谁能给我指一下正确的方向吗?我正在尝试确定Python3 inspect模块中可用的getfullargspec的等效项,但目前尚未成功。

您需要。它最接近于
getfullargspec

,因为在Python 2.7中没有只包含关键字的参数,所以不会检查。getargspec是您想要的吗?我也在考虑它。如果你把它作为答案贴出来,我会投你的票。