# 首先簡單瞭解一下 tuple 是什麽東西

元組(tuple)是 Python 存儲容器之一,最大特點就是,它是 immutable,像其他 list、dictionary、set 這些,都是 mutable

getattr 是 Python 中的一個内建函數,在官方的 getattr 解釋中是這樣説明的

getattr(object, name[, default]) -> value
Get a named attribute from an object; getattr(x, 'y') is equivalent to x.y.
When a default argument is given, it is returned when the attribute doesn't
exist; without it, an exception is raised in that case.

  1. Python 字節碼解只在字節碼指令之間的綫程之間切換
  2. 全局解釋器鎖(GIL)一次只允許單個綫程執行
  3. 許多操作轉換為單個 bytecode 來執行

祝大家端午節快樂,家人們一齊吃飯(今天嘅天氣太差,一直落雨,一落一停,個窗開佐又關,關佐又開)