Python 如何从help()函数中获取_new__的正确签名?
我在解释器中尝试了以下方法(命令行模式?不知道该怎么称呼它) 请注意,为Python 如何从help()函数中获取_new__的正确签名?,python,documentation,signature,Python,Documentation,Signature,我在解释器中尝试了以下方法(命令行模式?不知道该怎么称呼它) 请注意,为\uuuuu new\uuuuu提供的签名为: | | __new__(*args, **kwargs) from builtins.type | Create and return a new object. See help(type) for accurate signature. | 太没用了!我怎样才能得到真正的签名 help(“”)应该为内置的string类提供帮助,但这也不起作用,它
\uuuuu new\uuuuu
提供的签名为:
|
| __new__(*args, **kwargs) from builtins.type
| Create and return a new object. See help(type) for accurate signature.
|
太没用了!我怎样才能得到真正的签名
help(“”)
应该为内置的string类提供帮助,但这也不起作用,它不显示任何有用的内容,而不执行任何操作
当我不看的时候,内置的帮助功能是否被贬低了?我正在ubuntu上使用Python 3.6.8。它没有我记忆中那么有用
|
| __new__(*args, **kwargs) from builtins.type
| Create and return a new object. See help(type) for accurate signature.
|