Commit Graph

773 Commits

Author SHA1 Message Date
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
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
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
XiongNeng
17c207adec Merge pull request #196 from KaijianYou/KaijianYou-patch-1
fix: fix an indent error
2017-09-27 05:54:25 +08:00
XiongNeng
43aa61ed25 Merge pull request #194 from cclauss/patch-3
Use "with open()" to ensure the file gets close()d
2017-09-27 05:54:16 +08:00
XiongNeng
8b0e903e53 Merge pull request #193 from cclauss/patch-2
ur'string' is Py3 SyntaxError, use u'string' instead
2017-09-27 05:54:06 +08:00
XiongNeng
a70aaae725 Merge pull request #192 from cclauss/patch-1
print() function for Python 3
2017-09-27 05:53:53 +08:00
noahsss
22258339e1 fix: fix an indent error 2017-09-24 21:33:29 -05:00
cclauss
49d2702cef define process_data() 2017-09-19 21:48:46 +08:00
cclauss
05ca48e02e Use with open() to ensure the file gets close()d
`process_data()`is an undefined name in this context
2017-09-19 21:08:59 +08:00
cclauss
57924993f7 print() function and define xrange() for Python 3 2017-09-19 21:01:57 +08:00
cclauss
c9f7222853 ur'string' is Py3 SyntaxError, use u'string' instead
$ python2
```
$ python2
Python 2.7.13 (default, Jul 18 2017, 09:17:00)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> ur"[\w\u2E80-\u9FFF]" == u"[\w\u2E80-\u9FFF]"
True
>>> ur"[\w\u2E80-\u9FFF]" == r"[\w\u2E80-\u9FFF]"
False
```
2017-09-19 20:52:19 +08:00
cclauss
eb4a1370df print() function for Python 3 2017-09-19 20:45:29 +08:00
XiongNeng
71a80a8f42 Merge pull request #191 from cclauss/patch-1
import socket
2017-09-19 18:05:51 +08:00
cclauss
d057367fab import socket
sock on line 51 and 55 is not defined!!
2017-09-19 17:52:23 +08:00
XiongNeng
8f0a72fcb8 Merge pull request #189 from kyan001/patch-7
翻译了未翻译的部分
2017-09-18 23:17:18 +08:00
Kyan
f3288cf70d 翻译了未翻译的部分 2017-09-17 21:06:06 +08:00
XiongNeng
0bb908fff7 Merge pull request #188 from fanofxiaofeng/patch-3
转义字符'\'在markdown中似乎没有被正确解析
2017-09-14 23:31:14 +08:00
靳阳
a831cc4c5d 转义字符'\'在markdown中似乎没有被正确解析
如题图
2017-09-14 07:34:50 -05:00
XiongNeng
e71204177d Merge pull request #187 from Cortez-Zhang/patch-1
Typo in line 13
2017-09-10 20:51:40 +08: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
Chen Shijiang
33f2a93d06 fix indentation error 2017-09-05 17:49:35 +08:00
Chen Shijiang
ecce4afd95 fix typo 2017-09-05 10:48:20 +08:00
XiongNeng
28915e6eab Merge pull request #185 from kyan001/patch-6
Fix typo
2017-09-03 16:39:15 +08:00
Kyan
b3abdcc259 Fix typo
add-argument -> add_argument(typo)
2017-09-02 20:04:24 +08:00
XiongNeng
bdb8450491 Merge pull request #183 from rksys/master
🎈删除**另一处**残留的英文部分 at `13.11 给简单脚本增加日志功能`
2017-08-17 15:46:39 +08:00
rksys
a2e2c57287 另一处删除残留的英文部分 at 13.11 给简单脚本增加日志功能
one more get cleared
2017-08-17 16:57:29 +10:00
XiongNeng
a2631b02fe Merge pull request #181 from rksys/master
删除残留的英文部分 at `13.11 给简单脚本增加日志功能`
2017-08-16 13:20:45 +08:00
rksys
2415409e8c 删除残留的英文部分 at 13.11 给简单脚本增加日志功能 2017-08-16 12:08:04 +10:00
XiongNeng
ac27b73920 Merge pull request #180 from kyan001/patch-5
之类 -> 之后
2017-08-09 22:50:21 +08:00
Kyan
985c47df25 之类 -> 之后 2017-08-05 15:06:42 +08:00
XiongNeng
3f158e644e Merge pull request #178 from cywd/patch-1
Update p02_unpack_elements_from_iterables.rst
2017-07-27 22:39:25 +08:00
cy
d12a58ec00 Update p02_unpack_elements_from_iterables.rst 2017-07-27 17:03:28 +08:00
XiongNeng
733b8a6fc7 Merge pull request #177 from fanofxiaofeng/patch-2
一个目录符号的展示格式略有点小问题
2017-07-27 00:26:31 +08:00
靳阳
2a0bed8db9 展示格式略有点小问题
如题
2017-07-20 13:44:07 +08:00
靳阳
c664ad76fe 多了一个“的”字
如题
2017-07-20 12:45:51 +08:00
XiongNeng
2f7601dc78 Merge pull request #175 from CarlKing5019/patch
update preface, fix error, improve translation, add space between Eng…
2017-07-17 11:47:05 +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
Carl.King
d8566641a7 update preface, fix error, improve translation, add space between English and Chinese word. 2017-07-10 10:54:44 +08:00
XiongNeng
4892bcca93 Merge pull request #174 from kyan001/patch-4
fix typo: RLoct -> RLock
2017-07-04 17:17:46 +08:00
Kyan
900c2f9249 fix typo: RLoct -> RLock 2017-07-04 16:40:52 +08:00
Kyan
ce92c87c86 fix a unintended code block.
fix ``select() ``, remove right space, -> ``select()``, so this code block will not extend to the end of the next code block.
2017-07-03 18:06:05 +08:00