]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix typos ('expicit' -> 'explicit')
authorJamie Alessio <jamie@calthorpeanalytics.com>
Wed, 15 Mar 2017 02:02:38 +0000 (19:02 -0700)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 18 Mar 2017 18:58:14 +0000 (14:58 -0400)
(cherry picked from commit 3771af0af45c2a7ea79a055b953c32f23c53e256)

doc/build/core/constraints.rst
lib/sqlalchemy/sql/schema.py
test/sql/test_insert_exec.py

index c7febea2b5a9e4ab2aa20972ba0a753e0e25ed07..d0cfdf98d05988741b80ddb98d7981dcf6411961 100644 (file)
@@ -415,7 +415,7 @@ produced inline with the table definition, the database usually has a system
 in place in which names are automatically assigned to these constraints, if
 a name is not otherwise specified.  When an existing database table is altered
 in a database using a command such as ``ALTER TABLE``, this command typically
-needs to specify expicit names for new constraints as well as be able to
+needs to specify explicit names for new constraints as well as be able to
 specify the name of an existing constraint that is to be dropped or modified.
 
 Constraints can be named explicitly using the :paramref:`.Constraint.name` parameter,
index 08ddff0e1e1437f8898c0e2bbf1c1ca999611303..9f4687d72946686e5d400c3e0131677ece961d2f 100644 (file)
@@ -176,7 +176,7 @@ class Table(DialectKWArgs, SchemaItem, TableClause):
         is set in which case it defaults to True; :class:`.Column` objects
         for this table should be reflected from the database, possibly
         augmenting or replacing existing :class:`.Column` objects that were
-        expicitly specified.
+        explicitly specified.
 
         .. versionchanged:: 1.0.0 setting the :paramref:`.Table.autoload_with`
            parameter implies that :paramref:`.Table.autoload` will default
@@ -3452,7 +3452,7 @@ class MetaData(SchemaItem):
               present, the :class:`.Constraint` object's existing name will be
               replaced with one that is composed from template string that
               uses this token. When this token is present, it is required that
-              the :class:`.Constraint` is given an expicit name ahead of time.
+              the :class:`.Constraint` is given an explicit name ahead of time.
 
             * user-defined: any additional token may be implemented by passing
               it along with a ``fn(constraint, table)`` callable to the
index c49947425ecfede8103496d935e99967065127f9..6015f4e7479d9e7e25b0bcef73a5a74e18945c6d 100644 (file)
@@ -328,7 +328,7 @@ class TableInsertTest(fixtures.TablesTest):
             data)
 
     @testing.requires.sequences
-    def test_expicit_sequence(self):
+    def test_explicit_sequence(self):
         t = self._fixture()
         self._test(
             t.insert().values(