diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-08-09 20:32:37 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-08-09 20:32:37 -0400 |
commit | 331141d936478b9d892fc51d094ef0c7e01f5d3e (patch) | |
tree | f1493e742695c4343123f79e7c48a416f52cd955 /lib/sqlalchemy/engine/base.py | |
parent | c14a3651a4ea624e0539c4ee7d45e23bf6139403 (diff) | |
download | sqlalchemy-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.py | 4 |
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 |