From afde8cdfda23adcb5720cf03fdb75444fa385da1 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 30 Apr 2007 14:31:38 +0000 Subject: - applied YAGNI to supports_autoclose_results (this issue would be handled by BufferedColumnResultProxy) - the docstrings, they do not end --- lib/sqlalchemy/sql.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/sqlalchemy/sql.py') diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 6858084de..ab64d6528 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -554,7 +554,7 @@ def literal(value, type=None): Literal clauses are created automatically when non- ``ClauseElement`` objects (such as strings, ints, dates, etc.) are used in - a comparison operation with a [sqlalchemy.sql.#_CompareMixin] + a comparison operation with a [sqlalchemy.sql#_CompareMixin] subclass, such as a ``Column`` object. Use this function to force the generation of a literal clause, which will be created as a [sqlalchemy.sql#_BindParamClause] with a bound @@ -747,10 +747,10 @@ class AbstractDialect(object): class ClauseParameters(object): """Represent a dictionary/iterator of bind parameter key names/values. - Tracks the original ``BindParam`` objects as well as the + Tracks the original [sqlalchemy.sql#_BindParamClause] objects as well as the keys/position of each parameter, and can return parameters as a dictionary or a list. Will process parameter values according to - the ``TypeEngine`` objects present in the ``BindParams``. + the ``TypeEngine`` objects present in the ``_BindParamClause`` instances. """ def __init__(self, dialect, positional=None): @@ -929,7 +929,7 @@ class Compiled(ClauseVisitor): """ def __init__(self, dialect, statement, parameters, engine=None, traversal=None): - """Construct a new Compiled object. + """Construct a new ``Compiled`` object. statement ``ClauseElement`` to be compiled. -- cgit v1.2.1