1015 Commits

Author SHA1 Message Date
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
XiongNeng
cf3c9e35c5 Merge pull request #217 from kyan001/patch-1
你你的函数实现中 -> 在你的函数实现中
2017-12-25 19:18:38 +08:00
Kyan
2e5b8e60e1 使代码范围正确
去除了注释中错误的空格引入的范围错误
2017-12-25 16:05:24 +08:00
Kyan
82e3790349 你你的函数实现中 -> 在你的函数实现中
你你 -> 在你, typo fix
2017-12-25 15:42:50 +08:00
XiongNeng
80910ac83f Merge pull request #216 from kyan001/patch-1
"联系的内存区域" -> "连续的内存区域"
2017-12-21 09:41:16 +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
XiongNeng
de69678192 Merge pull request #214 from basefas/patch-2
Update p03_keep_last_n_items.rst
2017-12-20 15:37:08 +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
XiongNeng
597a9c8e90 Merge pull request #213 from basefas/patch-1
Update p03_import_submodules_by_relative_names.rst
2017-12-16 12:39:56 +08:00
basefas
1561b2df55 Update p03_import_submodules_by_relative_names.rst
删除多余的字
2017-12-15 15:45:10 +08:00
XiongNeng
e7b498f01e Merge pull request #212 from cclauss/patch-2
Upgrade from Python 3.4 to Python 3.6?
2017-12-10 22:58:49 +08:00
yidao620c
9c3f74135d udpate qcode 2017-12-10 22:53:24 +08:00
yidao620c
968aaa7838 udpate qcode 2017-12-10 22:38:22 +08:00
yidao620c
6987307ac7 update pic 2017-12-10 22:29:02 +08:00
cclauss
a2f428fac9 Upgrade from Python 3.4 to Python 3.6? 2017-12-10 15:21:35 +01:00
yidao620
194d1e51c7 update readme 2017-12-09 15:43:15 +08:00
yidao620
c842b10f9a update readme 2017-12-09 15:33:08 +08:00
yidao620
e540712af7 update readme 2017-12-09 15:30:54 +08:00
yidao620
b424655651 update readme 2017-12-09 15:29:57 +08:00
yidao620
a01857d2f7 update readme 2017-12-09 12:40:09 +08:00
yidao620
387033d5c3 更新3.0.0 PDF新版本 2017-12-09 12:35:29 +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
XiongNeng
eadd8ba490 Merge pull request #197 from cclauss/patch-2
Use Travis CI and flake8 to find Python 3 errors
2017-11-30 16:36:00 +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
yidao620
659d086f8b 增加由源码生成PDF文件的说明 2017-11-01 11:25:45 +08:00
yunyu2019
17bf278de0 第八章8.6及8.8更改 2017-10-18 17:34:41 +08:00
XiongNeng
5183ccf8da Merge pull request #203 from Huang-Jinxian/patch-2
to run the code correctly, there should be indent
2017-10-13 00:07:25 +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
XiongNeng
941c3c7bbd Merge pull request #202 from Huang-Jinxian/patch-1
命令错误
2017-10-11 11:15:40 +08: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
jeremyxu2010
f53ef079be Update p14_join_str.py
修正不正确的缩进,保持与原版的代码逻辑一致。原版代码见https://github.com/dabeaz/python-cookbook/blob/master/src/2/combining_and_concatenating_strings/example.py
2017-10-04 15:37:28 +08:00
XiongNeng
616973e52c Merge pull request #199 from zhongjiajie/master
fixbug p19_make_temporary_files_and_directories.rst
2017-09-28 23:03:51 +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
13cab511e3 Merge pull request #198 from cclauss/patch-3
file() was removed from Py3, use ‘with open()’ instead
2017-09-27 22:47:48 +08:00
cclauss
7cfd9a08d6 file() was removed from Py3, use ‘with open()’
file() no longer exists in Python 3.

The current version does not explicitly close file handles but this version fixes that.
2017-09-27 06:34:54 +02:00
cclauss
85819b595d Create .travis.yml 2017-09-27 06:20:29 +02:00