Updated doc string

This commit is contained in:
Ross Lawley 2013-01-23 16:19:07 +00:00
parent ea46edf50a
commit 4f70c27b56

View File

@ -165,7 +165,7 @@ def connect(db, alias=DEFAULT_CONNECTION_NAME, **kwargs):
class SwitchDB(object): class SwitchDB(object):
""" SwitchDB alias contextmanager. """ SwitchDB alias context manager.
Example :: Example ::
@ -184,7 +184,7 @@ class SwitchDB(object):
""" """
def __init__(self, cls, db_alias): def __init__(self, cls, db_alias):
""" Construct the query_counter. """ Construct the SwitchDB context manager
:param cls: the class to change the registered db :param cls: the class to change the registered db
:param db_alias: the name of the specific database to use :param db_alias: the name of the specific database to use