python面向对象getattr\setattr\delattr\hasattr

getattr\setattr\delattr\hasattr


hasattr

getattr

setattr

delattr

反射机制

__getattr__,__setattr__,__delattr__


__getattr__

setattr

delattr

Leave a Reply

Your email address will not be published. Required fields are marked *