summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-08-09 20:32:37 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-08-09 20:32:37 -0400
commit331141d936478b9d892fc51d094ef0c7e01f5d3e (patch)
treef1493e742695c4343123f79e7c48a416f52cd955 /lib/sqlalchemy/engine/base.py
parentc14a3651a4ea624e0539c4ee7d45e23bf6139403 (diff)
downloadsqlalchemy-331141d936478b9d892fc51d094ef0c7e01f5d3e.tar.gz
get slightly better about deprecations in docstrings, tho this is kind of an uphill climb
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r--lib/sqlalchemy/engine/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py
index 684df51ca..b481261d5 100644
--- a/lib/sqlalchemy/engine/base.py
+++ b/lib/sqlalchemy/engine/base.py
@@ -2308,9 +2308,9 @@ class ResultProxy(object):
return self.context._inserted_primary_key
- @util.deprecated("Use inserted_primary_key")
+ @util.deprecated("0.6", "Use :attr:`.ResultProxy.inserted_primary_key`")
def last_inserted_ids(self):
- """deprecated. use :attr:`~ResultProxy.inserted_primary_key`."""
+ """Return the primary key for the row just inserted."""
return self.inserted_primary_key