diff options
| author | Lele Gaifax <lele@metapensiero.it> | 2019-01-14 11:26:33 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-25 14:56:50 -0500 |
| commit | 66e88d30a86fc37e2eaf7367e988ced3834e3250 (patch) | |
| tree | eaee9860ff866d88e398cb6531a988ccd8601e09 /lib/sqlalchemy/ext | |
| parent | c9a31767e0d3a15ab45101aca21924cb4434c7b9 (diff) | |
| download | sqlalchemy-66e88d30a86fc37e2eaf7367e988ced3834e3250.tar.gz | |
Fix many spell glitches
This affects mostly docstrings, except in orm/events.py::dispose_collection()
where one parameter gets renamed: given that the method is
empty, it seemed reasonable to me to fix that too.
Closes: #4440
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4440
Pull-request-sha: 779ed75acb6142e1f1daac467b5b14134529bb4b
Change-Id: Ic0553fe97853054b09c2453af76d96363de6eb0e
Diffstat (limited to 'lib/sqlalchemy/ext')
| -rw-r--r-- | lib/sqlalchemy/ext/associationproxy.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/automap.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/declarative/api.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/hybrid.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/indexable.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/mutable.py | 6 | ||||
| -rw-r--r-- | lib/sqlalchemy/ext/orderinglist.py | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/lib/sqlalchemy/ext/associationproxy.py b/lib/sqlalchemy/ext/associationproxy.py index 5b05d2b3d..12e6c1f52 100644 --- a/lib/sqlalchemy/ext/associationproxy.py +++ b/lib/sqlalchemy/ext/associationproxy.py @@ -85,7 +85,7 @@ ASSOCIATION_PROXY = util.symbol("ASSOCIATION_PROXY") of type :class:`.AssociationProxy`. Is assigned to the :attr:`.InspectionAttr.extension_type` - attibute. + attribute. """ diff --git a/lib/sqlalchemy/ext/automap.py b/lib/sqlalchemy/ext/automap.py index 47a713845..55ab325a3 100644 --- a/lib/sqlalchemy/ext/automap.py +++ b/lib/sqlalchemy/ext/automap.py @@ -349,7 +349,7 @@ is as follows: 5. The override logic for many-to-many works the same as that of one-to-many/ many-to-one; the :func:`.generate_relationship` function is called upon - to generate the strucures and existing attributes will be maintained. + to generate the structures and existing attributes will be maintained. Relationships with Inheritance ------------------------------ @@ -673,7 +673,7 @@ class AutomapBase(object): function. In practice, the :class:`.AutomapBase` class is always used as a mixin along with an actual declarative base. - A new subclassable :class:`.AutomapBase` is typically instantated + A new subclassable :class:`.AutomapBase` is typically instantiated using the :func:`.automap_base` function. .. seealso:: diff --git a/lib/sqlalchemy/ext/declarative/api.py b/lib/sqlalchemy/ext/declarative/api.py index 6e64e37c5..139481ba5 100644 --- a/lib/sqlalchemy/ext/declarative/api.py +++ b/lib/sqlalchemy/ext/declarative/api.py @@ -528,7 +528,7 @@ class AbstractConcreteBase(ConcreteBase): at class configuration time, it behaves like a declarative mixin or an ``__abstract__`` base class. Once classes are configured and mappings are produced, it then gets mapped itself, but - after all of its decscendants. This is a very unique system of mapping + after all of its descendants. This is a very unique system of mapping not found in any other SQLAlchemy system. Using this approach, we can specify columns and properties diff --git a/lib/sqlalchemy/ext/hybrid.py b/lib/sqlalchemy/ext/hybrid.py index 1718efc25..556514bab 100644 --- a/lib/sqlalchemy/ext/hybrid.py +++ b/lib/sqlalchemy/ext/hybrid.py @@ -779,7 +779,7 @@ HYBRID_METHOD = util.symbol("HYBRID_METHOD") of type :class:`.hybrid_method`. Is assigned to the :attr:`.InspectionAttr.extension_type` - attibute. + attribute. .. seealso:: @@ -792,7 +792,7 @@ HYBRID_PROPERTY = util.symbol("HYBRID_PROPERTY") of type :class:`.hybrid_method`. Is assigned to the :attr:`.InspectionAttr.extension_type` - attibute. + attribute. .. seealso:: diff --git a/lib/sqlalchemy/ext/indexable.py b/lib/sqlalchemy/ext/indexable.py index 5f51c7978..2bb8459c4 100644 --- a/lib/sqlalchemy/ext/indexable.py +++ b/lib/sqlalchemy/ext/indexable.py @@ -210,7 +210,7 @@ version of :class:`.postgresql.JSON`:: The ``age`` attribute at the instance level works as before; however when rendering SQL, PostgreSQL's ``->>`` operator will be used -for indexed access, instead of the usual index opearator of ``->``:: +for indexed access, instead of the usual index operator of ``->``:: >>> query = session.query(Person).filter(Person.age < 20) diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py index 51d09618e..eb813a9e8 100644 --- a/lib/sqlalchemy/ext/mutable.py +++ b/lib/sqlalchemy/ext/mutable.py @@ -685,7 +685,7 @@ class MutableDict(Mutable, dict): solution for the use case of tracking deep changes to a *recursive* dictionary structure, such as a JSON structure. To support this use case, build a subclass of :class:`.MutableDict` that provides appropriate - coersion to the values placed in the dictionary so that they too are + coercion to the values placed in the dictionary so that they too are "mutable", and emit events up to their parent structure. .. seealso:: @@ -758,7 +758,7 @@ class MutableList(Mutable, list): solution for the use case of tracking deep changes to a *recursive* mutable structure, such as a JSON structure. To support this use case, build a subclass of :class:`.MutableList` that provides appropriate - coersion to the values placed in the dictionary so that they too are + coercion to the values placed in the dictionary so that they too are "mutable", and emit events up to their parent structure. .. versionadded:: 1.1 @@ -857,7 +857,7 @@ class MutableSet(Mutable, set): solution for the use case of tracking deep changes to a *recursive* mutable structure. To support this use case, build a subclass of :class:`.MutableSet` that provides appropriate - coersion to the values placed in the dictionary so that they too are + coercion to the values placed in the dictionary so that they too are "mutable", and emit events up to their parent structure. .. versionadded:: 1.1 diff --git a/lib/sqlalchemy/ext/orderinglist.py b/lib/sqlalchemy/ext/orderinglist.py index b97933dc4..16e0f1f2a 100644 --- a/lib/sqlalchemy/ext/orderinglist.py +++ b/lib/sqlalchemy/ext/orderinglist.py @@ -107,7 +107,7 @@ ordering is correct when first loaded. to lessen the impact of this limitation, however this does not take place for a UNIQUE column. A future feature will allow the "DELETE before INSERT" behavior to be - possible, allevating this limitation, though this feature will require + possible, alleviating this limitation, though this feature will require explicit configuration at the mapper level for sets of columns that are to be handled in this way. |
