summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine
diff options
context:
space:
mode:
authorMatthias Urlichs <matthias@urlichs.de>2014-05-11 16:49:56 +0200
committerMatthias Urlichs <matthias@urlichs.de>2014-05-11 16:49:56 +0200
commitf341cfbfe117e777569d58eb6d2c3d3f7fe7bbf3 (patch)
treec9a4a7d1d416c191d502de7dd56613c6f1d64783 /lib/sqlalchemy/engine
parent55eacc8dbea3c3f98197bde9034fd6558fb2bc09 (diff)
downloadsqlalchemy-pr/91.tar.gz
Documentation fix-up: "its" vs. "it's"pr/91
Removed ungrammatical apostrophes from documentation, replacing "it's" with "its" where appropriate (but in a few cases with "it is" when that read better). While doing that, I also fixed a couple of minor typos etc. as I noticed them.
Diffstat (limited to 'lib/sqlalchemy/engine')
-rw-r--r--lib/sqlalchemy/engine/__init__.py2
-rw-r--r--lib/sqlalchemy/engine/base.py2
-rw-r--r--lib/sqlalchemy/engine/reflection.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py
index 99251f630..fcb38b09c 100644
--- a/lib/sqlalchemy/engine/__init__.py
+++ b/lib/sqlalchemy/engine/__init__.py
@@ -9,7 +9,7 @@
The engine package defines the basic components used to interface
DB-API modules with higher-level statement construction,
connection-management, execution and result contexts. The primary
-"entry point" class into this package is the Engine and it's public
+"entry point" class into this package is the Engine and its public
constructor ``create_engine()``.
This package includes:
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index bb3b82eea..5ec4640c5 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -122,7 +122,7 @@ class Connection(Connectable):
execution options which will take effect for a call to
:meth:`execute`. As the new :class:`.Connection` references the same
underlying resource, it's usually a good idea to ensure that the copies
- would be discarded immediately, which is implicit if used as in::
+ will be discarded immediately, which is implicit if used as in::
result = connection.execution_options(stream_results=True).\\
execute(stmt)
diff --git a/lib/sqlalchemy/engine/reflection.py b/lib/sqlalchemy/engine/reflection.py
index 45f100518..fbbbbe2ba 100644
--- a/lib/sqlalchemy/engine/reflection.py
+++ b/lib/sqlalchemy/engine/reflection.py
@@ -523,7 +523,7 @@ class Inspector(object):
table.primary_key.name = pk_cons.get('name')
# tell the PKConstraint to re-initialize
- # it's column collection
+ # its column collection
table.primary_key._reload(pk_cols)
fkeys = self.get_foreign_keys(table_name, schema, **table.dialect_kwargs)