Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 360aa1d

Browse files
authored
Merge pull request taizilongxu#65 from zhongyuhang/master
Update Readme.md
2 parents 04c5774 + 3fcd1ae commit 360aa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ http://stackoverflow.com/questions/3394835/args-and-kwargs
476476

477477
这篇文章很好的介绍了新式类的特性: http://www.cnblogs.com/btchenguang/archive/2012/09/17/2689146.html
478478

479-
新式类很早在2.2就出现了,所以旧式类完全是兼容的问题,Python3里的类全部都是新式类.这里有一个MRO问题可以了解下(新式类是广度优先,旧式类是深度优先),<Python核心编程>里讲的也很多.
479+
新式类很早在2.2就出现了,所以旧式类完全是兼容的问题,Python3里的类全部都是新式类.这里有一个MRO问题可以了解下(新式类继承是根据C3算法,旧式类是深度优先),<Python核心编程>里讲的也很多.
480480

481481
> 一个旧式类的深度优先的例子
482482

0 commit comments

Comments
 (0)