From: Jason Kirtland Date: Tue, 22 Apr 2008 20:04:51 +0000 (+0000) Subject: Update docstring [ticket:873] X-Git-Tag: rel_0_5beta1~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2fd90a4d42aa17a0074284b7273fea38177c2d2;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update docstring [ticket:873] --- diff --git a/lib/sqlalchemy/orm/query.py b/lib/sqlalchemy/orm/query.py index e4dadc62fc..982bb5d017 100644 --- a/lib/sqlalchemy/orm/query.py +++ b/lib/sqlalchemy/orm/query.py @@ -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.