首页 / PYTHON / python hasattr()区分方法和属性