Commit Graph

619 Commits

Author SHA1 Message Date
张志亮
140f5e4cc0 更正错别字 2018-10-16 20:01:21 +08:00
Riverside
0394a26ca5 Update p08_extending_property_in_subclass.rst
`值的` 改为 `值得`
2018-09-18 19:17:34 +08:00
Johnny
e695deaa10 Update p19_writing_recursive_descent_parser.rst
fix: typo & some unsuitable translation
2018-09-05 15:45:29 +08:00
XiongNeng
08304536f1 Merge pull request #221 from AutuanLiu/patch-2
spelling mistake(minimum)
2018-07-14 12:28:53 +08:00
CNife
6000400cf9 修正1.17中的dict拼写错误 2018-06-23 18:52:43 +08:00
James Wang
1ec7639db6 Fix typos
“只有”-->“只要”
“显示”-->“显式”
2018-06-14 09:57:51 +08:00
YanYii
b005f946e0 Update p01_start_stop_thread.rst
fix: init param n, may be use
2018-05-29 17:04:36 +08:00
OnFr
0aaf5a4b66 修正p03_parsing_command_line_options.rst中的错别字
讲 -> 将
2018-05-24 10:56:42 +08:00
BowenFan
f640142d21 译文表述调整
仅修改了译文,使得译文更容易理解,更通顺。
2018-05-10 16:20:40 +08:00
sdygt
055b0d8550 Typo picle -> pickle 2018-05-07 02:42:07 +08:00
XiongNeng
a399663ce3 Merge pull request #229 from olyzhang/patch-2
4.12 将“最为输入参数”改为“作为输入参数”
2018-04-18 22:40:30 +08:00
olyzhang
69ee3c1110 4.12 将“最为输入参数”改为“作为输入参数” 2018-04-15 21:52:27 +08:00
olyzhang
29c0b0b171 最后一段代码存在缩进错误
此处代码作用是字符串片段总长度超过maxsize后返回,进行下一次迭代,修改部分的作用是确保将循环剩余的字符串返回,缩进应该与for语句一致。
2018-04-15 11:13:31 +08:00
Chi Chung Luk
65081cec6d Update p09_read_binary_data_into_mutable_buffer.rst
correct an typo in line 37 and 39
2018-04-10 23:01:20 +08:00
baihu
b8b80a5e79 Update p07_specify_regexp_for_shortest_match.rst
row 19: str_pat = re.compile(r'\"(.*)\"')  should be str_pat = re.compile(r'"(.*)"')
row 36: str_pat = re.compile(r'\"(.*?)\"') should be str_pat = re.compile(r'"(.*?)"')

"\" just don't works.
2018-03-08 21:14:00 +08:00
Nasy
8dfe409ad0 Update p16_reformat_text_to_fixed_number_columns.rst
Update doc link from python3.3 to python3.6
2018-02-22 10:58:09 +08:00
AutuanLiu
9da916d5dd spelling mistake(minimum) 2018-02-01 22:48:50 +08:00
Syrtis Major
5e9de6afa1 delete two redundant items
删去重复的两行
2018-01-29 19:18:50 +08:00
yidao620
5a3e22d37f update aboutme 2018-01-12 09:38:56 +08:00
XiongNeng
fc3b417cf0 Merge pull request #218 from kyan001/patch-2
使代码范围正确
2017-12-25 19:18:48 +08:00
Kyan
2e5b8e60e1 使代码范围正确
去除了注释中错误的空格引入的范围错误
2017-12-25 16:05:24 +08:00
Kyan
82e3790349 你你的函数实现中 -> 在你的函数实现中
你你 -> 在你, typo fix
2017-12-25 15:42:50 +08:00
Kyan
94daf5921d "联系的内存区域" -> "连续的内存区域"
Typo fix
2017-12-20 17:10:20 +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
basefas
1561b2df55 Update p03_import_submodules_by_relative_names.rst
删除多余的字
2017-12-15 15:45:10 +08:00
yidao620
727e4b1a0b 发布3.0.0 PDF新版本 2017-12-07 12:00:30 +08:00
XiongNeng
0ce95473de Merge pull request #210 from yunyu2019/master
第九章第17节语句不通的问题
2017-12-05 22:58:40 +08:00
yunyu2019
0909fa20c1 第九章第174节语句不通的问题 2017-11-30 17:03:37 +08:00
XiongNeng
83ae29bb6a Merge pull request #209 from fanofxiaofeng/patch-7
目录结构似乎有点问题
2017-11-30 16:36:59 +08:00
XiongNeng
17b210d12c Merge pull request #208 from fanofxiaofeng/patch-6
疑似是一个用词错误
2017-11-30 16:36:48 +08:00
XiongNeng
fa946cfee7 Merge pull request #206 from fanofxiaofeng/patch-4
"仅仅"和"只"没必要一起使用(一起使用似乎是病句)
2017-11-30 16:36:37 +08:00
XiongNeng
6e1c3c6ed8 Merge pull request #205 from yunyu2019/master
第八章8.6及8.8更改
2017-11-30 16:36:26 +08:00
XiongNeng
506d4360d3 Merge pull request #201 from jeremyxu2010/master
修正不正确的缩进,保持与原版的代码逻辑一致
2017-11-30 16:36:12 +08:00
靳阳
f1940b3e2d 目录结构似乎有点问题
如题
2017-11-16 11:41:04 +08:00
靳阳
0c88f1965f 疑似是一个用词错误
疑似是一个用词错误,不过我没看过英文原文,所以只是猜测。
2017-11-14 09:41:20 +08:00
靳阳
709b1ec33a "仅仅"和"只"没必要一起使用(一起使用似乎是病句)
如题
2017-11-13 18:41:16 +08:00
yunyu2019
17bf278de0 第八章8.6及8.8更改 2017-10-18 17:34:41 +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
jeremyxu2010
34be2eae1a 修改为更准确的描述
itertools.chain(*files)导致gen_opener()生成器被提前全部消费掉,因此在此场景不适合,参见原文https://www.safaribooksonline.com/library/view/python-cookbook-3rd/9781449357337/ch04s13.html。但仍可以用yield from itertools.chain.from_iterable(files),itertools.chain.from_iterable相对于itertools.chain,它是懒消费的。
见https://stackoverflow.com/questions/15004772/what-is-the-difference-between-chain-and-chain-from-iterable-in-itertools
2017-10-04 15:52:04 +08:00
zhongjiajie
113081e48b fixbug p19_make_temporary_files_and_directories.rst
fixbug in source/c05/p19_make_temporary_files_and_directories.rst which miss `e` in key word `delete`
2017-09-28 16:20:03 +08:00
XiongNeng
6b1d89871e Merge pull request #173 from kyan001/patch-3
fix a unintended code block.
2017-09-27 05:55:07 +08:00
XiongNeng
f3b1884c28 Merge pull request #176 from fanofxiaofeng/patch-1
多了一个“的”字
2017-09-27 05:54:54 +08:00
noahsss
22258339e1 fix: fix an indent error 2017-09-24 21:33:29 -05:00
Kyan
f3288cf70d 翻译了未翻译的部分 2017-09-17 21:06:06 +08:00
靳阳
a831cc4c5d 转义字符'\'在markdown中似乎没有被正确解析
如题图
2017-09-14 07:34:50 -05:00
Cortez-Zhang
b52b71dedc Typo in line 13
"replace"
2017-09-07 23:42:37 -05:00
XiongNeng
b8254f6bf4 Merge pull request #186 from Dectinc/master
fix typo and indentation error
2017-09-05 21:02:18 +08:00