单项选择题

A.obj.__dict__
B.dir(obj)
C.obj.attributes()
D.obj.methods()