Skip to content

Commit c707a61

Browse files
committed
p3
1 parent ab89420 commit c707a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

238.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
除了特殊方法,类中的其它的普通方法,是经常要用到的,所以,要对这些普通方法进行研究。
1414

1515
>>> class Foo: #Python 2: class Foo(object):
16-
def bar(self):
17-
print("This is a normal method of class.") #Python 2 使用print 语句
16+
def bar(self):
17+
print("This is a normal method of class.") #Python 2 使用print 语句
1818

1919
2020
>>> f = Foo()

0 commit comments

Comments
 (0)