]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update docstring [ticket:873]
authorJason Kirtland <jek@discorporate.us>
Tue, 22 Apr 2008 20:04:51 +0000 (20:04 +0000)
committerJason Kirtland <jek@discorporate.us>
Tue, 22 Apr 2008 20:04:51 +0000 (20:04 +0000)
lib/sqlalchemy/orm/query.py

index e4dadc62fc032989fa5b5b9a2dcad092b5c8e91a..982bb5d017167811f09c8a94ffe7ef52bd921dd8 100644 (file)
@@ -910,7 +910,7 @@ class Query(object):
             return None
 
     def one(self):
-        """Return the first result of this ``Query``, raising an exception if more than one row exists.
+        """Return the first result, raising an exception unless exactly one row exists.
 
         This results in an execution of the underlying query.