课程笔记
课程/Python/后端开发
Python-面向对象
介绍
章节
问答
笔记
Oeback
2018-09-07
方法名的前后有两个下划线
def __init__(self): #别写成__int__
0赞 · 0采集
EnchantF
2018-04-06
Magic Method:
方法名的前后有两个下划线
如:def __innit__(self):
1赞 · 0采集
慕无忌3007375
2017-12-27
magic methon 双下划线__开头和结尾的方法
0赞 · 0采集
诗赋
2017-10-17
魔术方法格式def__方法名__(self)
0赞 · 0采集
jkct1
2017-09-08
魔术化方法呀…
截图
0赞 · 0采集
或许这就是男人吧
2017-08-17
Magic Method(魔术方法) 方法名的前后有两个下划线 def __init__(self):
0赞 · 0采集
AmosZH
2017-05-10
方法名首尾都有两个下划线的方法叫做 magic method,比如构造方法和析构方法。
截图
0赞 · 0采集
kevin26xtu
2017-05-07
方法名首尾都有两个下划线的方法叫做 magic method,比如构造方法和析构方法。
截图
0赞 · 0采集
侠客岛的含笑
2017-04-19
魔术方法 '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__'
0赞 · 0采集
feng1o
2017-03-14
see,类classmethod
截图
0赞 · 0采集
慕用2398227
2016-11-27
magic method在PYthon中的形式
截图
0赞 · 1采集
数据加载中...