summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-08-01 20:55:44 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-08-01 20:55:44 -0400
commit2f844f231cbcd86dad5d4094565858424ea2c3c7 (patch)
tree8a4032441692073a236b21d6fca0dbadec1b8779 /lib/sqlalchemy/util.py
parentdada8ce27f26ddd1387ca94f706f691ba807781a (diff)
downloadsqlalchemy-2f844f231cbcd86dad5d4094565858424ea2c3c7.tar.gz
- worked through about 25% of mappers.rst to implement
up to date and clear explanations of things, including as much context and description as possible
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r--lib/sqlalchemy/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py
index ae45e1703..d274e3635 100644
--- a/lib/sqlalchemy/util.py
+++ b/lib/sqlalchemy/util.py
@@ -1668,7 +1668,7 @@ def pending_deprecation(version, message=None,
"""
if add_deprecation_to_docstring:
- header = message is not None and message or 'Deprecated.'
+ header = ".. deprecated:: %s (pending) %s" % (version, (message or ''))
else:
header = None