From 5850ea9b21c7ed5a69b9e0d994518052d140a282 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 13 Apr 2015 15:55:44 +0200 Subject: [PATCH] python: docstring: do not add a newline after '"""' Ref: https://www.python.org/dev/peps/pep-0257/#multi-line-docstrings --- snippets/python.snippets | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/snippets/python.snippets b/snippets/python.snippets index f30add3..ea5f2c9 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -148,8 +148,7 @@ snippet pudb snippet pprint import pprint; pprint.pprint(${1}) snippet " - """ - ${0:doc} + """${0:doc} """ # assertions snippet a= @@ -200,8 +199,7 @@ snippet lc snippet li logger.info(${0:msg}) snippet epydoc - """ - ${1:Description} + """${1:Description} @param ${2:param}: ${3: Description} @type $2: ${4: Type}