summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
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/sql
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/sql')
-rw-r--r--lib/sqlalchemy/sql/elements.py2
-rw-r--r--lib/sqlalchemy/sql/functions.py2
-rw-r--r--lib/sqlalchemy/sql/schema.py2
-rw-r--r--lib/sqlalchemy/sql/selectable.py2
-rw-r--r--lib/sqlalchemy/sql/sqltypes.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index aef3a6c85..9f08aea67 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -3284,7 +3284,7 @@ def _find_columns(clause):
# however the inspect() versions add significant callcount
# overhead for critical functions like _interpret_as_column_or_from().
# Generally, the column-based functions are more performance critical
-# and are fine just checking for __clause_element__(). it's only
+# and are fine just checking for __clause_element__(). It is only
# _interpret_as_from() where we'd like to be able to receive ORM entities
# that have no defined namespace, hence inspect() is needed there.
diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py
index a9b88b13b..1def809e0 100644
--- a/lib/sqlalchemy/sql/functions.py
+++ b/lib/sqlalchemy/sql/functions.py
@@ -414,7 +414,7 @@ register_function("extract", Extract)
class next_value(GenericFunction):
"""Represent the 'next value', given a :class:`.Sequence`
- as it's single argument.
+ as its single argument.
Compiles into the appropriate function on each backend,
or will raise NotImplementedError if used on a backend
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index e8f1ffae1..9ff022f60 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -1241,7 +1241,7 @@ class Column(SchemaItem, ColumnClause):
for f in self.foreign_keys]
if name is None and self.name is None:
raise exc.InvalidRequestError("Cannot initialize a sub-selectable"
- " with this Column object until it's 'name' has "
+ " with this Column object until its 'name' has "
"been assigned.")
try:
c = self._constructor(
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py
index 61abe815d..a13186097 100644
--- a/lib/sqlalchemy/sql/selectable.py
+++ b/lib/sqlalchemy/sql/selectable.py
@@ -469,7 +469,7 @@ class FromClause(Selectable):
to its .c. collection when a Column has been added to one of the
Table objects it ultimtely derives from.
- If the given selectable hasn't populated it's .c. collection yet,
+ If the given selectable hasn't populated its .c. collection yet,
it should at least pass on the message to the contained selectables,
but it will return None.
diff --git a/lib/sqlalchemy/sql/sqltypes.py b/lib/sqlalchemy/sql/sqltypes.py
index f3468ebc2..6f8ea7c69 100644
--- a/lib/sqlalchemy/sql/sqltypes.py
+++ b/lib/sqlalchemy/sql/sqltypes.py
@@ -1054,7 +1054,7 @@ class Enum(String, SchemaType):
operations. If the type is not associated with any ``MetaData``
object, it will associate itself with each ``Table`` in which it is
used, and will be created when any of those individual tables are
- created, after a check is performed for it's existence. The type is
+ created, after a check is performed for its existence. The type is
only dropped when ``drop_all()`` is called for that ``Table``
object's metadata, however.