219
220
221class DBHandler(object):
222 """223 A simple singleton class that makes sure that only one connection to the database is ever initialised.
224 """
225
If a docstring fits in a single line (72 characters according to PEP8), it is recommended to have the quotes on the same line.
def foo():
"""
Runs bar and returns baz.
"""
baz = bar()
return baz
def foo():
"""Runs bar and returns baz."""
baz = bar()
return baz