1. getattr
When using the dot notation to get the attribute of the instance, if the attribute does not exist, the getattr method is automatically called
python learning - built-in methods
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325707657&siteId=291194637
Ranking