Skip to content

Commit c62bc4c

Browse files
committed
p3
1 parent 17ceeed commit c62bc4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

238.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
127127
#!/usr/bin/env python
128128
#coding:utf-8
129129

130-
class Foo(object):
130+
class Foo(object): #Python 3: class Foo:
131131
one = 0
132132

133133
def __init__(self):
@@ -157,7 +157,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
157157
#!/usr/bin/env python
158158
#coding:utf-8
159159

160-
class Foo(object):
160+
class Foo(object): #Python 3: class Foo:
161161
one = 0
162162

163163
def __init__(self):
@@ -217,7 +217,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
217217
T = 3
218218
return T
219219

220-
class Foo(object):
220+
class Foo(object): #Python 3: class Foo:
221221
def __init__(self,name):
222222
self.name = name
223223

@@ -239,7 +239,7 @@ Python中有几个特殊方法比较特殊,它们分别是`__get__()`、`__set
239239

240240
T = 1
241241

242-
class Foo(object):
242+
class Foo(object): #Python 3: class Foo:
243243
def __init__(self,name):
244244
self.name = name
245245

0 commit comments

Comments
 (0)