From 1c8afa374edf21bf33bbcc69d701476fe80f3482 Mon Sep 17 00:00:00 2001 From: pythagodzilla Date: Fri, 15 Dec 2017 14:35:31 +0800 Subject: [PATCH] Update python_language_rules.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 抑制错写成医治 --- google-python-styleguide/python_language_rules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-python-styleguide/python_language_rules.rst b/google-python-styleguide/python_language_rules.rst index cd80e76..09dee85 100644 --- a/google-python-styleguide/python_language_rules.rst +++ b/google-python-styleguide/python_language_rules.rst @@ -25,7 +25,7 @@ Lint dict = 'something awful' # Bad Idea... pylint: disable=redefined-builtin - pylint警告是以一个数字编号(如 ``C0112`` )和一个符号名(如 ``empty-docstring`` )来标识的. 在编写新代码或更新已有代码时对告警进行医治, 推荐使用符号名来标识. +   pylint警告是以一个数字编号(如 ``C0112`` )和一个符号名(如 ``empty-docstring`` )来标识的. 在编写新代码或更新已有代码时对告警进行抑制, 推荐使用符号名来标识. 如果警告的符号名不够见名知意,那么请对其增加一个详细解释。