Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit360aa1d

Browse files
authored
Merge pull requesttaizilongxu#65 from zhongyuhang/master
Update Readme.md
2 parents04c5774 +3fcd1ae commit360aa1d

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)

[8]ページ先頭

©2009-2025 Movatter.jp