Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 568 Bytes

51.md

File metadata and controls

31 lines (26 loc) · 568 Bytes
@author jackzhenguo
@desc 
@date 2019/3/4

51 help 一键帮助 

返回对象的帮助文档

In [1]: help(xiaoming)
Help on Student in module __main__ object:

class Student(builtins.object)
 |  Methods defined here:
 |
 |  __init__(self, id, name)
 |
 |  __repr__(self)
 |
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables (if defined)
 |
 |  __weakref__
 |      list of weak references to the object (if defined)
[上一个例子](50.md) [下一个例子](52.md)