diff options
author | Matthias Urlichs <matthias@urlichs.de> | 2014-05-11 16:49:56 +0200 |
---|---|---|
committer | Matthias Urlichs <matthias@urlichs.de> | 2014-05-11 16:49:56 +0200 |
commit | f341cfbfe117e777569d58eb6d2c3d3f7fe7bbf3 (patch) | |
tree | c9a4a7d1d416c191d502de7dd56613c6f1d64783 /lib/sqlalchemy/orm | |
parent | 55eacc8dbea3c3f98197bde9034fd6558fb2bc09 (diff) | |
download | sqlalchemy-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/orm')
-rw-r--r-- | lib/sqlalchemy/orm/collections.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/orm/deprecated_interfaces.py | 4 | ||||
-rw-r--r-- | lib/sqlalchemy/orm/events.py | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/sqlalchemy/orm/collections.py b/lib/sqlalchemy/orm/collections.py index 87e351b6c..530cce962 100644 --- a/lib/sqlalchemy/orm/collections.py +++ b/lib/sqlalchemy/orm/collections.py @@ -445,7 +445,7 @@ class collection(object): The converter method will receive the object being assigned and should return an iterable of values suitable for use by the ``appender`` method. A converter must not assign values or mutate the collection, - it's sole job is to adapt the value the user provides into an iterable + its sole job is to adapt the value the user provides into an iterable of values for the ORM's use. The default converter implementation will use duck-typing to do the diff --git a/lib/sqlalchemy/orm/deprecated_interfaces.py b/lib/sqlalchemy/orm/deprecated_interfaces.py index 020b7c718..e4495e12a 100644 --- a/lib/sqlalchemy/orm/deprecated_interfaces.py +++ b/lib/sqlalchemy/orm/deprecated_interfaces.py @@ -127,7 +127,7 @@ class MapperExtension(object): return EXT_CONTINUE def init_instance(self, mapper, class_, oldinit, instance, args, kwargs): - """Receive an instance when it's constructor is called. + """Receive an instance when its constructor is called. This method is only called during a userland construction of an object. It is not called when an object is loaded from the @@ -140,7 +140,7 @@ class MapperExtension(object): return EXT_CONTINUE def init_failed(self, mapper, class_, oldinit, instance, args, kwargs): - """Receive an instance when it's constructor has been called, + """Receive an instance when its constructor has been called, and raised an exception. This method is only called during a userland construction of diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py index 6bc6b17ff..996e04edb 100644 --- a/lib/sqlalchemy/orm/events.py +++ b/lib/sqlalchemy/orm/events.py @@ -213,7 +213,7 @@ class InstanceEvents(event.Events): """ def init(self, target, args, kwargs): - """Receive an instance when it's constructor is called. + """Receive an instance when its constructor is called. This method is only called during a userland construction of an object. It is not called when an object is loaded from the @@ -222,7 +222,7 @@ class InstanceEvents(event.Events): """ def init_failure(self, target, args, kwargs): - """Receive an instance when it's constructor has been called, + """Receive an instance when its constructor has been called, and raised an exception. This method is only called during a userland construction of @@ -316,7 +316,7 @@ class InstanceEvents(event.Events): """ def unpickle(self, target, state_dict): - """Receive an object instance after it's associated state has + """Receive an object instance after its associated state has been unpickled. :param target: the mapped instance. If |