python: docstring: do not add a newline after '"""'
Ref: https://www.python.org/dev/peps/pep-0257/#multi-line-docstrings
This commit is contained in:
parent
61ec499844
commit
5850ea9b21
@ -148,8 +148,7 @@ snippet pudb
|
|||||||
snippet pprint
|
snippet pprint
|
||||||
import pprint; pprint.pprint(${1})
|
import pprint; pprint.pprint(${1})
|
||||||
snippet "
|
snippet "
|
||||||
"""
|
"""${0:doc}
|
||||||
${0:doc}
|
|
||||||
"""
|
"""
|
||||||
# assertions
|
# assertions
|
||||||
snippet a=
|
snippet a=
|
||||||
@ -200,8 +199,7 @@ snippet lc
|
|||||||
snippet li
|
snippet li
|
||||||
logger.info(${0:msg})
|
logger.info(${0:msg})
|
||||||
snippet epydoc
|
snippet epydoc
|
||||||
"""
|
"""${1:Description}
|
||||||
${1:Description}
|
|
||||||
|
|
||||||
@param ${2:param}: ${3: Description}
|
@param ${2:param}: ${3: Description}
|
||||||
@type $2: ${4: Type}
|
@type $2: ${4: Type}
|
||||||
|
Loading…
Reference in New Issue
Block a user