File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
127
127
#!/usr/bin/env python
128
128
#coding: utf-8
129
129
130
- class Foo(object):
130
+ class Foo(object): #Python 3: class Foo:
131
131
one = 0
132
132
133
133
def __init__(self):
@@ -157,7 +157,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
157
157
#!/usr/bin/env python
158
158
#coding:utf-8
159
159
160
- class Foo(object):
160
+ class Foo(object): #Python 3: class Foo:
161
161
one = 0
162
162
163
163
def __init__(self):
@@ -217,7 +217,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
217
217
T = 3
218
218
return T
219
219
220
- class Foo(object):
220
+ class Foo(object): #Python 3: class Foo:
221
221
def __init__(self,name):
222
222
self.name = name
223
223
@@ -239,7 +239,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
239
239
240
240
T = 1
241
241
242
- class Foo(object):
242
+ class Foo(object): #Python 3: class Foo:
243
243
def __init__(self,name):
244
244
self.name = name
245
245
You can’t perform that action at this time.
0 commit comments