]> 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:10 +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 aff684f0ab3d278660b151331fc25cf192b41718..88d003678601018d57f9b177653b3a4a97d1ac07 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 e6eabc46199d2d483fe0a510d8b05d2ff13e0c25..66996145fdb875fb21948b7a0a561734d117043b 100644 (file)
@@ -175,7 +175,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
@@ -3552,7 +3552,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(