Merge pull request #88 from RyanZhiNie/patch-1

Fix two mistakes
This commit is contained in:
Yang.Y 2018-11-27 20:28:52 +08:00 committed by GitHub
commit 2cdfbf3b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ Lint
结论:
确保对你的代码运行pylint.抑制不准确的警告,以便能够将其他警告暴露出来。
你可以通过设置一个行注释来抑制警. 例如:
你可以通过设置一个行注释来抑制警. 例如:
.. code-block:: python

View File

@ -360,7 +360,7 @@ Shebang
# in the array and the array size and then do binary search to
# get the exact number.
if i & (i-1) == 0: # true iff i is a power of 2
if i & (i-1) == 0: # True if i is 0 or a power of 2.
为了提高可读性, 注释应该至少离开代码2个空格.