__getattr__() 當我們要查詢class內的屬性(變數或方法)時,通常使用cedar.math這樣的語法,不過如果我們查詢了一個不存在的屬性呢?例如cedar.music,會出現甚麼? cedar.
確定! 回上一頁