From 995a6c9cc9b760220078c568be02b5cc89b1b9e2 Mon Sep 17 00:00:00 2001 From: Zhongyue Luo Date: Wed, 16 May 2012 17:08:27 +0800 Subject: [PATCH] Backslash continuation removal (Nova folsom-2) Fixes bug #938588 Backslash continuations removal for scripts in bin/, plugin/, and etc. Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8d --- HACKING.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HACKING.rst b/HACKING.rst index a28bc3743..c85f5f305 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -10,6 +10,8 @@ General ------- - Put two newlines between top-level code (funcs, classes, etc) - Put one newline between methods in classes and anywhere else +- Long lines should be wrapped in parentheses + in preference to using a backslash for line continuation. - Do not write "except:", use "except Exception:" at the very least - Include your name with TODOs as in "#TODO(termie)" - Do not shadow a built-in or reserved word. Example::