From: Diana Clarke Date: Sun, 18 Mar 2012 02:28:29 +0000 (-0400) Subject: typos in lib/sqlalchemy/ext X-Git-Tag: rel_0_7_7~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b60fdb094057a648850947f688eb15617cfd50d7;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git typos in lib/sqlalchemy/ext --- diff --git a/lib/sqlalchemy/ext/horizontal_shard.py b/lib/sqlalchemy/ext/horizontal_shard.py index 6befabe843..47123f3d52 100644 --- a/lib/sqlalchemy/ext/horizontal_shard.py +++ b/lib/sqlalchemy/ext/horizontal_shard.py @@ -10,7 +10,7 @@ Defines a rudimental 'horizontal sharding' system which allows a Session to distribute queries and persistence operations across multiple databases. For a usage example, see the :ref:`examples_sharding` example included in -the source distrbution. +the source distribution. """ diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 9f1bb89283..5ca9727ecb 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -180,7 +180,7 @@ not picklable, due to the fact that they contain weakrefs and function callbacks. In our case, this is a good thing, since if this dictionary were picklable, it could lead to an excessively large pickle size for our value objects that are pickled by themselves outside of the context of the parent. -The developer responsiblity here is only to provide a ``__getstate__`` method +The developer responsibility here is only to provide a ``__getstate__`` method that excludes the :meth:`~.MutableBase._parents` collection from the pickle stream:: diff --git a/lib/sqlalchemy/ext/orderinglist.py b/lib/sqlalchemy/ext/orderinglist.py index 38957250b8..97be329e98 100644 --- a/lib/sqlalchemy/ext/orderinglist.py +++ b/lib/sqlalchemy/ext/orderinglist.py @@ -148,7 +148,7 @@ def count_from_n_factory(start): return f def _unsugar_count_from(**kw): - """Builds counting functions from keywrod arguments. + """Builds counting functions from keyword arguments. Keyword argument filter, prepares a simple ``ordering_func`` from a ``count_from`` argument, otherwise passes ``ordering_func`` on unchanged. diff --git a/lib/sqlalchemy/ext/sqlsoup.py b/lib/sqlalchemy/ext/sqlsoup.py index 7d36cdfa65..3727f57571 100644 --- a/lib/sqlalchemy/ext/sqlsoup.py +++ b/lib/sqlalchemy/ext/sqlsoup.py @@ -256,7 +256,7 @@ accepts in normal mapper definition: Advanced Use ============ -Sessions, Transations and Application Integration +Sessions, Transactions and Application Integration ------------------------------------------------- .. note:: @@ -599,7 +599,7 @@ class SqlSoup(object): self.session.flush() def rollback(self): - """Rollback the current transction. + """Rollback the current transaction. See :meth:`.Session.rollback`.