From: Chris Withers Date: Fri, 30 Apr 2010 07:39:25 +0000 (+0100) Subject: remove docs for deprecated feature X-Git-Tag: rel_0_6_1~29^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f58d4c2e407fee2c3625ec50242470e638127be;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git remove docs for deprecated feature --- diff --git a/lib/sqlalchemy/orm/__init__.py b/lib/sqlalchemy/orm/__init__.py index c2f6337bc9..a262acd9f3 100644 --- a/lib/sqlalchemy/orm/__init__.py +++ b/lib/sqlalchemy/orm/__init__.py @@ -136,13 +136,6 @@ def scoped_session(session_factory, scopefunc=None): Session.commit() Session.close() - To map classes so that new instances are saved in the current Session - automatically, as well as to provide session-aware class attributes such - as "query", use the `mapper` classmethod from the scoped session:: - - mapper = Session.mapper - mapper(Class, table, ...) - """ return ScopedSession(session_factory, scopefunc=scopefunc)