83 Commits

Author SHA1 Message Date
zlu27
db9cee3125 文本润色 2021-02-19 22:43:15 -06:00
zlu27
8a316e4fdd Chapter 1 2021-02-17 23:51:35 -06:00
zlu27
461583634b 文本润色 2021-02-17 00:15:03 -06:00
XiongNeng
26ab1d8340 Merge pull request #320 from Jock2018/master
Update p03_keep_last_n_items.rst
2020-08-02 21:34:28 +08:00
XiongNeng
a466647b2a Merge pull request #314 from tinohean/patch-1
Update p09_find_commonalities_in_dicts.rst
2020-08-02 21:31:21 +08:00
XiongNeng
a0accc5105 Merge pull request #309 from vvtam/patch-1
Update p02_unpack_elements_from_iterables.rst
2020-08-02 21:28:25 +08:00
Jock2018
a54a3f9c12 Update p03_keep_last_n_items.rst
修改解决方案中:
“比如,下面的代码在多行上面做简单的文本匹配,
并返回匹配所在行的最后N行:”

为:
“比如,下面的代码在多行上面做简单的文本匹配,
并返回匹配所在行及其前面的N行:
”
原因是:个人感觉这样更接近于英文原文且更好理解。之前的译法,让我一开始理解为返回包括匹配行在内的最后N行,以为是匹配行之后的N行,实际上是之前的N行。
2020-04-04 09:46:23 +08:00
tinohean
821b6eda11 Update p09_find_commonalities_in_dicts.rst
移除多余的"寻"
移除"会"已保证语意通顺
2020-01-20 15:50:11 +08:00
tam
2fe014d563 Update p02_unpack_elements_from_iterables.rst
修改错别字
2019-12-09 15:19:56 +08:00
Hjiang
d5ab7a068c fix some typos 2019-11-02 02:03:10 +08:00
Zhang Peng
622290a7a5 修改部分翻译 2019-06-19 17:43:13 +08:00
sixgod_zhang
6777e4f631 修正笔误 2019-04-28 17:06:10 +08:00
shispt
e0249c32d0 修正错别字 2018-11-05 15:12:48 +08:00
CNife
6000400cf9 修正1.17中的dict拼写错误 2018-06-23 18:52:43 +08:00
BowenFan
f640142d21 译文表述调整
仅修改了译文,使得译文更容易理解,更通顺。
2018-05-10 16:20:40 +08:00
XiongNeng
f2bb9bebc1 Merge pull request #215 from basefas/patch-3
Update p06_map_keys_to_multiple_values_in_dict.rst
2017-12-20 15:37:20 +08:00
basefas
740dd8a67f Update p06_map_keys_to_multiple_values_in_dict.rst
翻译注释
2017-12-20 15:04:15 +08:00
basefas
35cd7d7ab1 Update p03_keep_last_n_items.rst
明确语义
2017-12-20 14:39:58 +08:00
Huang-Jinxian
5aa38a9161 to run the code correctly, there should be indent
as you can seen, there should be a tab indent.
2017-10-11 10:21:22 -05:00
Huang-Jinxian
36942f1008 命令错误
进行堆排序得是heap,而不是nums,所以输出的应该是heap
2017-10-10 01:13:25 -05:00
cy
d12a58ec00 Update p02_unpack_elements_from_iterables.rst 2017-07-27 17:03:28 +08:00
Carl.King
90401f8255 fix error of the code in 1.4 and 1.6, 1.10,
remove the label “content:” in index file,
add space between English and Chinese word.
2017-07-10 20:02:24 +08:00
superdtx
9adf852876 Update p10_remove_duplicates_from_seq_order.rst 2017-04-03 10:41:05 -04:00
maqi
ba3ac0310c Update p05_implement_a_priority_queue.rst
“队列_queue保证第一个元素拥有最小优先级”=>应该为最高优先级
2017-03-31 10:34:46 +08:00
Yanpeton
d351f5ad78 Update p12_determine_most_freqently_items_in_seq.rst 2016-09-21 21:44:49 +08:00
Yanpeton
937befa80a Update p03_keep_last_n_items.rst 2016-09-13 10:41:53 +08:00
xiuyanduan
d9b1d82c04 Update p07_keep_dict_in_order.rst
根据原书代码修改缩进及源代码
2016-09-01 09:06:55 +08:00
caimaoy
f6024a7f16 add ',', modify output result 2016-08-30 19:37:40 +08:00
yue.chen
68ce652008 add the missing ')'s 2016-08-27 17:46:01 +08:00
lambdaplus
5739107ccf fix indent error 2016-07-26 10:21:15 +08:00
sptzxbbb
8aed051bac Fix a few format errors and typos in ch01 and ch02 2016-07-21 15:58:43 +08:00
sptzxbbb
5784ce9a9c Add highlight to func in Ch 1.4 2016-07-21 08:50:55 +08:00
zxllxz
e63b717ae5 修改错别字:复合-->符合 2016-07-15 15:10:11 +08:00
ding
0997e5da9e 代码缩进错误 2016-06-22 13:14:59 +08:00
XiongNeng
23438d8c12 Merge pull request #91 from xiuyanduan/master
修改p20_combine_multiple_map_to_single_map.rst笔误
2016-02-23 12:57:23 +08:00
xiuyanduan
4730c09852 修改p20_combine_multiple_map_to_single_map.rst笔误
此处英文原版为`An easy way to do this is to use the ChainMap class from the collections module.`
'扼'应为笔误,修改为'的'
2016-02-23 11:22:29 +08:00
XiongNeng
fd1d696846 1.3小节修正 2016-02-22 18:54:00 +08:00
andyyoung01
2e6d835319 Update p11_naming_slice.rst
修改55行到66行的切片对象名,由原来的切片对象s改为a,便于和后面的部分连续起来理解。
2016-01-19 17:14:04 +08:00
zhidong
4fb7623e07 修改错别字词
修改错别字词
2016-01-04 16:57:46 +08:00
XiongNeng
fa087b056e 全局格式修正。 2015-12-28 19:34:04 +08:00
Ruijian Zhang
f905ba4a05 fixed a typo 2015-12-17 13:30:21 +08:00
XiongNeng
d74bcf6645 fix issue 2015-11-16 09:56:58 +08:00
key
500ebc2a27 修正 1章10小节 dedupe函数定义中的缩进错误 2015-11-14 18:03:55 +08:00
Kevin Guan
bbfda16969 更改第一章所有变量名、函数、类等文本代码 2015-09-18 00:28:42 +08:00
LiHaoGit
e96ff30b23 变量名错了 2015-05-21 15:21:02 +08:00
Eskibear
9230b8692b Update p12_determine_most_freqently_items_in_seq.rst
correct spell mistake
2015-05-18 10:04:03 +08:00
XiongNeng
474833b916 issue correct 2015-05-05 11:26:36 +08:00
XiongNeng
8d8f442e1e review update. 2014-09-23 10:52:16 +08:00
XiongNeng
3afe592fca 1.20小节完成。 2014-09-03 14:55:27 +08:00
XiongNeng
a839f8aac0 1.20小节完成。阶段性胜利! 2014-09-03 14:52:07 +08:00