Python func property:修订历史

本页内容
上一节: Python3_string_len 下一节: Python_func_type

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 21:492022年8月17日 (三) 21:49Neo 讨论 贡献 2,220字节 +2,220 创建页面,内容为“{{DISPLAYTITLE:property()}}43 = Python property() 函数 = Python 内置函数 == 描述 == '''property()''' 函数的作用是在新式类中返回属性值。 === 语法 === 以下是 property() 方法的语法: <sample title="" desc="" lang="python" hererun="1"> class property([fget[, fset[, fdel[, doc]]]]) </sample> === 参数 === * fget -- 获取属性值的函数 * fset -- 设…”
上一节: Python3_string_len 下一节: Python_func_type