Skip to content

Commit 7905860

Browse files
author
刘宇辉
committed
modify reverse lookup
1 parent 711c9fd commit 7905860

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

thinkpython/tex-zh/en_cn.translation

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ insane 不健康
44
hashable 散列体
55

66
reverse lookup 颠倒查询
7+
#这里没有使用逆向或者反向查询的原因是:很容易让人误解为是从字典的
8+
#“最后一项查询”,实际上在Python2.6(包括)之前,字典都是无序的,在
9+
#Python2.7中新引入了OrderDict。颠倒查询,虽然听起来名字有点“非主流”
10+
#但是却恰如其分的表达了对字典的项进行逆向查询。
711

812

0 commit comments

Comments
 (0)