diff options
| author | Lele Gaifax <lele@metapensiero.it> | 2007-12-15 10:08:37 +0000 |
|---|---|---|
| committer | Lele Gaifax <lele@metapensiero.it> | 2007-12-15 10:08:37 +0000 |
| commit | e630b322f6e776ded26f8bab2e117f1433259a45 (patch) | |
| tree | 8152d6d91e8d68c368719f98af0f0ec28ecbdbd9 /lib/sqlalchemy/engine | |
| parent | 8e5cf37a70456a5d504ac4d0fe0ee89ad594734c (diff) | |
| download | sqlalchemy-e630b322f6e776ded26f8bab2e117f1433259a45.tar.gz | |
Fixed minor reST issue
Diffstat (limited to 'lib/sqlalchemy/engine')
| -rw-r--r-- | lib/sqlalchemy/engine/base.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 259909d47..801d4e28c 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -287,7 +287,7 @@ class ExecutionContext(object): Connection may have close_with_result=True set, in which case it can only be used once. - dialect + dialect dialect which created this ExecutionContext. cursor @@ -413,7 +413,6 @@ class ExecutionContext(object): def lastrow_has_defaults(self): """Return True if the last INSERT or UPDATE row contained inlined or database-side defaults. - """ raise NotImplementedError() @@ -474,7 +473,7 @@ class Compiled(object): def construct_params(self, params): """Return the bind params for this compiled object. - params is a dict of string/object pairs whos + `params` is a dict of string/object pairs whos values will override bind values compiled in to the statement. """ @@ -551,7 +550,7 @@ class Connection(Connectable): raise exceptions.InvalidRequestError("This Connection is closed") def _branch(self): - """return a new Connection which references this Connection's + """Return a new Connection which references this Connection's engine and connection; but does not have close_with_result enabled, and also whose close() method does nothing. @@ -946,7 +945,7 @@ class Transaction(object): is_active = property(lambda s:s._is_active) def close(self): - """close this transaction. + """Close this transaction. If this transaction is the base transaction in a begin/commit nesting, the transaction will rollback(). Otherwise, the |
