From 3571df8755b5e5566360ad07fd2682f1f031454a Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Fri, 15 Jun 2018 14:35:40 +0800 Subject: [PATCH] Remove unused '\n' in comments --- python/paddle/fluid/layers/layer_function_generator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/paddle/fluid/layers/layer_function_generator.py b/python/paddle/fluid/layers/layer_function_generator.py index 0f05ea2b08d..7a95afa9a6c 100644 --- a/python/paddle/fluid/layers/layer_function_generator.py +++ b/python/paddle/fluid/layers/layer_function_generator.py @@ -76,7 +76,6 @@ def _generate_doc_string_(op_proto): line_begin = ' {0}: '.format(_convert_(each_input.name)) buf.write(line_begin) buf.write(escape_math(each_input.comment)) - buf.write('\n') if each_input.duplicable: buf.write(" Duplicatable.") if each_input.dispensable: -- GitLab