summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm
diff options
context:
space:
mode:
authorVraj Mohan <r.vrajmohan@gmail.com>2013-11-12 18:18:04 -0500
committerVraj Mohan <r.vrajmohan@gmail.com>2013-11-12 20:23:05 -0500
commitfe1d64473896b1e8abeb8ddb966447632c057321 (patch)
tree1300d2f511f129e260510f7118785d26db8cc79b /lib/sqlalchemy/orm
parent226c7ec7904ae325e0db35ce7841b4aa0d33974f (diff)
downloadsqlalchemy-pr/43.tar.gz
Fix indentation issues in docstringspr/43
Diffstat (limited to 'lib/sqlalchemy/orm')
-rw-r--r--lib/sqlalchemy/orm/events.py6
-rw-r--r--lib/sqlalchemy/orm/relationships.py5
2 files changed, 6 insertions, 5 deletions
diff --git a/lib/sqlalchemy/orm/events.py b/lib/sqlalchemy/orm/events.py
index 3b67f767b..855841408 100644
--- a/lib/sqlalchemy/orm/events.py
+++ b/lib/sqlalchemy/orm/events.py
@@ -1295,9 +1295,9 @@ class SessionEvents(event.Events):
:param session: The target :class:`.Session`.
:param previous_transaction: The :class:`.SessionTransaction`
- transactional marker object which was just closed. The current
- :class:`.SessionTransaction` for the given :class:`.Session` is
- available via the :attr:`.Session.transaction` attribute.
+ transactional marker object which was just closed. The current
+ :class:`.SessionTransaction` for the given :class:`.Session` is
+ available via the :attr:`.Session.transaction` attribute.
.. versionadded:: 0.7.3
diff --git a/lib/sqlalchemy/orm/relationships.py b/lib/sqlalchemy/orm/relationships.py
index f0b23111c..8296be60a 100644
--- a/lib/sqlalchemy/orm/relationships.py
+++ b/lib/sqlalchemy/orm/relationships.py
@@ -732,7 +732,7 @@ class RelationshipProperty(StrategizedProperty):
@util.memoized_property
def mapper(self):
"""The target :class:`.Mapper` referred to by this
- :class:`.RelationshipProperty.Comparator.
+ :class:`.RelationshipProperty.Comparator`.
This is the "target" or "remote" side of the
:func:`.relationship`.
@@ -1372,7 +1372,8 @@ class RelationshipProperty(StrategizedProperty):
def table(self):
"""Return the selectable linked to this
:class:`.RelationshipProperty` object's target
- :class:`.Mapper`."""
+ :class:`.Mapper`.
+ """
return self.target
def do_init(self):