From 91df1bc17be81bb8b2122ee2f19b77a137b7b839 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 7 Apr 2006 00:11:13 +0000 Subject: a little spring cleaning for the util package, etc --- lib/sqlalchemy/sql.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/sqlalchemy/sql.py') diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 2bc025e9f..7129781a7 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -247,6 +247,7 @@ def is_column(col): return isinstance(col, ColumnElement) class AbstractEngine(object): + """represents a 'thing that can produce Compiler objects an execute them'.""" def execute_compiled(self, compiled, parameters, echo=None, **kwargs): raise NotImplementedError() def compiler(self, statement, parameters, **kwargs): @@ -343,7 +344,7 @@ class Compiled(ClauseVisitor): self.after_compile() def execute(self, *multiparams, **params): - """executes this compiled object using the underlying SQLEngine""" + """executes this compiled object using the AbstractEngine it is bound to.""" if len(multiparams): params = multiparams @@ -1350,8 +1351,6 @@ class Select(SelectBaseMixin, FromClause): else: setattr(self, attribute, condition) - _hash_recursion = util.RecursionStack() - def clear_from(self, from_obj): self._froms[from_obj] = FromClause(from_name = None) -- cgit v1.2.1