批踢踢實業坊
›
看板
Python
關於我們
聯絡資訊
返回看板
作者
rockcen (杰)
看板
Python
標題
[問題] 關於class 內變數的問題
時間
Wed Jan 21 06:29:55 2009
clsee CA: V1 = 'string' def __init__(self): self.V2 = 'string' 想請問V2屬於class的實體變數吧? 當object 被消滅時才會release 想請問V1是什麼變數呢? thanks! --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.62.1.105