help()

help() 用于查看函数或模块的帮助信息

In [1]: help(id)    # 查看id()这个函数的帮助信息,注意不要写成help(id())
id(...)
    id(object) -> integer
    Return the identity of an object.  This is guaranteed to be unique among
    simultaneously existing objects.  (Hint: it's the object's memory address.)
(END)

 

 

 

 

    

posted @ 2018-12-27 18:19  孔雀东南飞  阅读(203)  评论(0编辑  收藏  举报