From 4f70c27b5695216839bd92d42eadd04518d95e58 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Wed, 23 Jan 2013 16:19:07 +0000 Subject: [PATCH] Updated doc string --- mongoengine/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongoengine/connection.py b/mongoengine/connection.py index 80791e5f..9f906a28 100644 --- a/mongoengine/connection.py +++ b/mongoengine/connection.py @@ -165,7 +165,7 @@ def connect(db, alias=DEFAULT_CONNECTION_NAME, **kwargs): class SwitchDB(object): - """ SwitchDB alias contextmanager. + """ SwitchDB alias context manager. Example :: @@ -184,7 +184,7 @@ class SwitchDB(object): """ 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 db_alias: the name of the specific database to use