summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/attributes.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-17 21:13:14 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-17 21:13:14 -0400
commit2136054ca86284bbfabc9f39787aae88667acbcd (patch)
tree67c93be37219b2c24f26b14a11eb1ccd71aadd9e /lib/sqlalchemy/orm/attributes.py
parent0e9f0b5c79e7737125a8e304d9ba432114cec6e5 (diff)
downloadsqlalchemy-2136054ca86284bbfabc9f39787aae88667acbcd.tar.gz
- some doc reorg
- change engine.Connection to _connection_cls so sphinx doesn't get upset - globally add "." to all :class:`Foo` - start naming sections that are mostly docstrings "API Documentation - blah blah" - move some ad-hoc docstrings into "API" sections, there is some inconsistency here and it may be that we just have to leave it that way - add "internals" rsts to core, orm, I'm not super thrilled how these look but they are targeted by some of the public api docs, users typically become aware of these anyway
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
-rw-r--r--lib/sqlalchemy/orm/attributes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/attributes.py b/lib/sqlalchemy/orm/attributes.py
index 437de685c..ead62d1fe 100644
--- a/lib/sqlalchemy/orm/attributes.py
+++ b/lib/sqlalchemy/orm/attributes.py
@@ -1000,7 +1000,7 @@ class History(tuple):
return self != HISTORY_BLANK
def empty(self):
- """Return True if this :class:`History` has no changes
+ """Return True if this :class:`.History` has no changes
and no existing, unchanged state.
"""
@@ -1030,7 +1030,7 @@ class History(tuple):
(self.deleted or [])
def has_changes(self):
- """Return True if this :class:`History` has changes."""
+ """Return True if this :class:`.History` has changes."""
return bool(self.added or self.deleted)