]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
more explicit doc
authorGaëtan de Menten <gdementen@gmail.com>
Mon, 30 Jul 2007 11:45:56 +0000 (11:45 +0000)
committerGaëtan de Menten <gdementen@gmail.com>
Mon, 30 Jul 2007 11:45:56 +0000 (11:45 +0000)
lib/sqlalchemy/orm/query.py

index 6d4ae34096ae19d9a37b11c4bdfebfdab0915052..01562f7b510b7e51f5fc8bbc82019f3433ef32f5 100644 (file)
@@ -592,7 +592,7 @@ class Query(object):
         return q
         
     def first(self):
-        """Return the first result of this ``Query``.
+        """Return the first result of this ``Query`` or None if the result doesn't contain any row.
 
         This results in an execution of the underlying query.
         """